Share via


DbCommandInterceptionContext<TResult> Constructors

Definition

Overloads

DbCommandInterceptionContext<TResult>()

Constructs a new DbCommandInterceptionContext<TResult> with no state.

DbCommandInterceptionContext<TResult>(DbInterceptionContext)

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

DbCommandInterceptionContext<TResult>()

Constructs a new DbCommandInterceptionContext<TResult> with no state.

public DbCommandInterceptionContext ();
Public Sub New ()

Applies to

DbCommandInterceptionContext<TResult>(DbInterceptionContext)

Creates a new DbCommandInterceptionContext<TResult> by copying immutable 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<'Result> : System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<'Result>
Public Sub New (copyFrom As DbInterceptionContext)

Parameters

copyFrom
DbInterceptionContext

The context from which to copy state.

Applies to