DbCommandInterceptionContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DbCommandInterceptionContext() |
构造一个没有状态的新 DbCommandInterceptionContext 。 |
DbCommandInterceptionContext(DbInterceptionContext) |
DbCommandInterceptionContext通过从给定的拦截上下文复制状态创建新的 。 另请参阅 Clone() |
DbCommandInterceptionContext()
构造一个没有状态的新 DbCommandInterceptionContext 。
public DbCommandInterceptionContext();
Public Sub New ()
适用于
DbCommandInterceptionContext(DbInterceptionContext)
DbCommandInterceptionContext通过从给定的拦截上下文复制状态创建新的 。 另请参阅 Clone()
public DbCommandInterceptionContext(System.Data.Entity.Infrastructure.Interception.DbInterceptionContext copyFrom);
new System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext : System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext
Public Sub New (copyFrom As DbInterceptionContext)
参数
- copyFrom
- DbInterceptionContext
要从中复制状态的上下文。