Udostępnij przez


DbContext.IObjectContextAdapter.ObjectContext Właściwość

Definicja

Zwraca obiekt ObjectContext programu Entity Framework, który jest bazowym tym kontekstem.

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

Wartość właściwości

Implementuje

Atrybuty

Wyjątki

Zgłaszany, jeśli kontekst został usunięty.

Dotyczy