IT:AD:EF:Queries
## Loading of Graphs (Lazy v. Explicit Loading of related tables) ##
Related entities can be loaded implicitly (lazy loading) or explicitly.
See Queries
## Returning Anonymous / 'mini-Entities' ##
As expressed here: LINQ one can return smaller objects:
//using anonymous objects: data.Where(x=>x.Last =="Smith").Select(x=>new F=x.First, L=x.Last).Dump(); //using specific objects: data.Where(x=>x.Last =="Smith").Select(x=>new Y F=x.First, L=x.Last).Dump();
Joins
Predicates
Building up Query filters progressively, using AND/OR, is actually a lot trickier than it looks due to the expression being evaluated in Code rather than EF.
See: statements
Stale Data
Due to in memory caching within the identity map, data can become state (saves on one machine are not reflected on another.