I have used LINQ to SQL successfully on an number of projects recently, but am keen to move to LINQ to Entities since this looks like the area that will be receiving more investment from Microsoft as they move to .NET 4.0 and beyond.
Before doing so I am keen to find out what things LINQ to SQL has that are missing from LINQ to Entities. My initial investigations have unveiled a couple of minor annoyances.
- LINQ to Entities does not support
Single()
orSingleOrDefault()
- LINQ to Entities will not allow you to inspect the generated SQL in the VS2008 IDE for a non-executed query
Does anyone know of any other such differences?
Note that I am not looking for a side-by-side comparison of the major features of LINQ to SQL and LINQ to Entities. I am hoping to learn about the more subtle differences that people have encountered.