Entity framework

PersonNameEntities is auto-generated and derived from ObjectContext. What is this ObjectContext class?

Provides facilities for querying and working with entity data as objects.


The ObjectContext class is the primary class for interacting with data as objects that are instances of entity types that are defined in an Entity Data Model (EDM). An instance of the ObjectContext class encapsulates the following:

  • A connection to the database, in the form of an EntityConnection object.
  • Metadata that describes the model, in the form of a MetadataWorkspace object.
  • An ObjectStateManager object that manages objects persisted in the cache.

for more info: http://www.codeproject.com/KB/database/IntroEntityFramework3.aspx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s