<p>I recently asked a <a href="https://stackoverflow.com/questions/137712/sql-tracing-linq-to-entities">question about tracing Linq-to-Entities</a></p>

<p>I think that <a href="https://stackoverflow.com/questions/137712/sql-tracing-linq-to-entities#138109">one of the answers</a> was not right, as they refer to using the DataContext. Is there a DataContext for LINQ-to-Entities? If so, how do I get it?</p>

Apparently, LinqToEntities uses an
ObjectContext
instead of DataContext.
It is hilarious that the object team made a DataContext and the data team made an ObjectContext (and on to DataQuery vs ObjectQuery, etc.) "Naming is Hard!"
Update, for .net 4 with EF4.1, you might also be interested in
DbContext
when working with LinqToEntities.  See
also
.