Поделиться через


DbCommandInterceptionContext Конструкторы

Определение

Перегрузки

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

Контекст, из которого копируются состояния.

Применяется к