DbContext.IObjectContextAdapter.ObjectContext DbContext.IObjectContextAdapter.ObjectContext Property

Definition

Returns the Entity Framework ObjectContext that is underlying this context.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
System.Data.Entity.Core.Objects.ObjectContext System.Data.Entity.Infrastructure.IObjectContextAdapter.ObjectContext { get; }
 ReadOnly Property ObjectContext As ObjectContext Implements IObjectContextAdapter.ObjectContext

Property Value

Implements

Exceptions

Thrown if the context has been disposed.

Applies to