Compartilhar via


DbContext.IObjectContextAdapter.ObjectContext Propriedade

Definição

Retorna o ObjectContext do Entity Framework subjacente a esse contexto.

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

Valor da propriedade

Implementações

Atributos

Exceções

Gerado se o contexto tiver sido descartado.

Aplica-se a