语言

IObjectContextAdapter 接口

定义

接口由可以提供 ObjectContext 实例的对象实现。 该 DbContext 类实现此接口以提供对基础 ObjectContext 的访问权限。

public interface IObjectContextAdapter
type IObjectContextAdapter = interface
Public Interface IObjectContextAdapter
派生

属性

名称 说明
ObjectContext

获取对象上下文。

适用于