Share via


DbCommandInterceptionContext Constructors

Definition

Overloads

DbCommandInterceptionContext()

Constructs a new DbCommandInterceptionContext with no state.

DbCommandInterceptionContext(DbInterceptionContext)

Creates a new DbCommandInterceptionContext by copying state from the given interception context. Also see Clone()

DbCommandInterceptionContext()

Constructs a new DbCommandInterceptionContext with no state.

public DbCommandInterceptionContext ();
Public Sub New ()

Applies to

DbCommandInterceptionContext(DbInterceptionContext)

Creates a new DbCommandInterceptionContext by copying state from the given interception context. Also see 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)

Parameters

copyFrom
DbInterceptionContext

The context from which to copy state.

Applies to