Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
A LINQ to Entities query implicitly creates an ObjectQuery, whether written in Visual Basic or C#. There is one other way to create an ObjectQuery and that is by using the Entity Framework’s Object Services (in the System.Data.Objects namespace) directly. When you create an ObjectQuery directly, you will use the Entity Framework’s T-SQL-like query language, called Entity SQL, to build the query expression.
To see how this works, modify your example with the following steps: