
Entity Framework
Get flash to fully experience Pearltrees
Alternate Technologies
The Entity Framework provides a set of canonical functions that implement functionality that is common across many database systems, such as string manipulation and mathematical functions.
CLR Method to Canonical Function Mapping
EDM: Mapping two entities from single table
Persistence Ignorance in the Entity Framework
using (ObjectContext ctx = new ObjectContext( "Name=NorthwindEntities3" )) { var query = from s in ctx.CreateQuery ( "NorthwindEntities3.Shippers" ) where s.CompanyName == "Speedy Express" select s; foreach (Shipper s in query) { System.Console.WriteLine(s.ShipperID); } } Or, given that if I've used the tooling to produce a derived NorthwindContext or similar which has a property called Shippers on it then I can shorten that down to; using (NorthwindContext ctx = new NorthwindContext()) { var query = from s in ctx.Shippers where s.CompanyName == "Speedy Express" select s; foreach (Shipper s in query) { System.Console.WriteLine(s.ShipperID); } }
ADO.NET Entity Framework - LINQ. Getting Started. - Mike Taulty's Blog - Mike Taulty's Blog
ADO.NET Entity Framework - Bringing Together A Few Previous Posts - Mike Taulty's Blog - Mike Taulty's Blog
Where I'd like to go with this next is to explore more into LINQ and also more around what you can do with mapping (almost everything I've looked at so far has been a 1:1 Conceptual:Logical).Data Points: ADO.NET Entity Framework Overview
Dynamic Queries in Entity Framework using Expression Trees | DigitallyCreated
Most of the queries you do in your application are probably static queries.The cost of eager loading in Entity Framework : Don't Be Iffy
Everything in life is about choices and usually we have to evaluate our options before we make those choices. So it goes with eager loading vs. deferred loading in Entity Framework.With the Entity Framework most of the time SaveChanges() is sufficient.
c# - Entity Framework - Using Transactions or SaveChanges(false) and AcceptAllChanges()? - Stack Overflow
On the other hand, if you are creating an expression tree and your expression requires a property value access in order for it to evaluate, you should use Expression.MemberAccess or Expression.Property:

