WorldofASP.NET : ASP.NET Directory, Tutorial, Hosting, and Source Code
You are 1 of 115 users


Entity SQL Shortcut

Blogger : DotNetSlackers Latest ASP.NET News in Category SQL
All posts : All posts by DotNetSlackers Latest ASP.NET News in Category SQL
Category : MSSQL
Blogged date : 2008 Jul 26

I learned a neat ESQL trick from Danny Simmons today. The most basic Entity SQL expression is one that would simply query for a single entity with no filters, no projection etc. context.CreateQuery<Customer>("SELECT VALUE con FROM MYEntityContainer.Contacts AS con") You can actually express the string using only the target collection: context.CreateQuery<Customer>("MyEntityContainer.Contacts") and EF will build the same command tree as it does for the first...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Read comments or post a reply to : Entity SQL Shortcut
Page 390 of 1924
Next | Last

.NET News Categories








Legend : - Within 3 Days - Within 6 Days - Within 9 Days

Home | Add Resources | Sponsored Listings | Advertise with Us | SiteMap 1 | SiteMap 2 | Link To Us | Contact Us
© 2002-2008 Worldofasp.net ASP.NET Directory, Hosting and Tutorials | All rights reserved
Our Partners : ASP.NET Web Hosting | Windows Web Hosting | ASP.NET Hosting | Phone Card | PHP Directory | Bangkok Hotels |Calling Card