Showing posts with label EF. Show all posts
Showing posts with label EF. Show all posts
Tuesday, December 13, 2011
Friday, September 10, 2010
How to get the generated sql query sending to server by entity framework
This is a sample linq query in EF,
for example, we have 2 tables:
Contents, Tags (one to many, each content has zero or more tags)
for example, we have 2 tables:
Contents, Tags (one to many, each content has zero or more tags)
Saturday, July 31, 2010
Translate<T> method in ObjectContext in Entity Framework 4
In Entity Framework 4, ObjectContext has a nice Translate<T> method. This method will materialize the result type. It takes your DbDataReader and materializes the data back into entities, the T can be a primitive type, an entity type, or any custom type you like, That type does not have to be defined in the Entity Framework conceptual model.
Subscribe to:
Posts (Atom)