Saturday, January 26, 2013

Execution Sequence of Entity Framework

When talking about Entity Framework its important to understand the operations happening,

Loading metadata
Happens only once in each application domain. Model and mapping metadata used by EF is loaded into MetadataWorkspace.

Opening the database connection
EF opens and closes database connection as needed. 

Generating views
This is usually a costly operation

Preparing the query

Executing the query

Loading and validating types

Tracking



Materializing the objects

0 comments:

Post a Comment

Powered by Blogger.


Software Architect at Surge Global/ Certified Scrum Master

Experienced in Product Design, Software Engineering, Team management and Practicing Agile methodologies.

Search This Blog

Facebook