Entity Framework FAQ
Architecture
What are the key justifications to Entity Framework as ORM solutions.
Why we should use ORM framework at all.
In what type of application we should use entity framework.
What are the performance consideration of using entity framework.
Can entity framework handle bulk transaction and high volume of concurrent transactions
Conceptual Models
Mapping
Entity Sets
Is it required to use the code generation tool? Can I hand-author entity classes?
Does the Entity Framework require objects with public empty constructors?
Does the Entity Framework support a private field to be mapped to the database?
What are the entity types supported by the Entity Framework?
How can I store a set of self-tracking entities in ViewState for an ASP.NET application?
Where can I find a graph iterator solution for self-tracking entities?
How do I know what change-tracking strategy is used: change tracking with proxies or snapshot?
Why are my entities not change-tracking proxies, even though all the properties are virtual?
Does the Entity Framework support cloning of entity objects or do I have to do it manually?
Relationships and Entity Mapping
Does theEntity Frameworksupport lazy loading and deep loading, and how is the performance for these features?
Is it possible to make the EF implicitly load related entities? Is lazy loading enabled by default?
Is there a topic that compares foreign key association and independent association?
How do I change independent associations to foreign key associations?
Are changes to relationships in my objects always synchronized in the state manager?
What is the difference between the Load method and the LoadProperty method?
How do I get notified when an item is added to the collection?
Does the Entity Framework support associations with payload?
Why don't navigation properties raise the PropertyChanged event?
Object customization
Stored Procedure and Functions
Code Generations and Customization
Architectural Discussions
Object Context
Connection and Transaction Management
Can the container name and the connection string name be different?
How can I create an ObjectContext using a database connection that has already been created?
Can I access the underlying database connection given an EntityConnection?
What is the recommended way to manage transactions and connections with the Entity Framework?
How do I set IsolationLevel/Lock Hints on single queries? Is it possible to set `NOLOCK` on a query?
Querying Data
How can I see the T-SQL that is generated when I execute my queries?
Can anonymous types participate in change tracking or updates?
Is the data filtered on the database server or on the client?
Where in the query should Include be placed? How do I add Include on top of a LINQ expression?
How do I dynamically build a general-purpose query for the Entity Framework?
Does Entity Framework 4 support projections into EntityType classes?
Can I use "Contains" with EF LINQ queries? How do I do something like the SQL "IN" clause?
Serialization and web Services
Data Binding
Concurrency
Miscellaneous
Can I delete data that has not been queried from the database?
My database isn't being updated, but no errors occurred in my application.
How do I trace the commands that are executed against the data source?
What is the recommended way to use full-text search (FTS) queries with the Entity Framework?
Does Entity Framework 4 support DateTime functions like DayOfWeek?
Performances
References