Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IObjectContextAdapter Interface
Collapse the table of content
Expand the table of content

IObjectContextAdapter Interface

Entity Framework 5.0

Interface implemented by objects that can provide an ObjectContext instance. The DbContext class implements this interface to provide access to the underlying ObjectContext.

Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public interface IObjectContextAdapter

The IObjectContextAdapter type exposes the following members.

Public propertyObjectContextGets the object context.
© 2015 Microsoft