Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbContext Properties

Entity Framework 5.0

The DbContext type exposes the following members.

  Name Description
Public property ChangeTracker Provides access to features of the context that deal with change tracking of entities.
Public property Configuration Provides access to configuration options for the context.
Public property Database Creates a database instance for this context and allows you to perform creation, deletion or existence checks for the underlying database.

  Name Description
Explicit interface implemetation Private property IObjectContextAdapter.ObjectContext Returns the Entity Framework ObjectContext that is underlying this context.
© 2015 Microsoft