Home / General / Entity Framework - Object Services Level. Deferred Loading.
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

Entity Framework - Object Services Level. Deferred Loading.

The results of this query;

using (ObjectContext ctx = new ObjectContext("Name=NorthwindEntities"))
{
ObjectQuery<Customers> query = ctx.CreateQuery<Customers>(
"select value c from NorthwindContext.Customers as c");

foreach (Customers c in query)
{
Console.WriteLine(c.Orders.Count);
}
}

are very different to their moral equival















Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites