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.