Export (0) Print
Expand All

IObjectContextAdapter Interface

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

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.
© 2014 Microsoft