Share via


DbConnectionInterceptionContext<TResult> Constructors

Definition

Overloads

DbConnectionInterceptionContext<TResult>()

Constructs a new DbConnectionInterceptionContext<TResult> with no state.

DbConnectionInterceptionContext<TResult>(DbInterceptionContext)

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

DbConnectionInterceptionContext<TResult>()

Constructs a new DbConnectionInterceptionContext<TResult> with no state.

public DbConnectionInterceptionContext ();
Public Sub New ()

Applies to

DbConnectionInterceptionContext<TResult>(DbInterceptionContext)

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

public DbConnectionInterceptionContext (System.Data.Entity.Infrastructure.Interception.DbInterceptionContext copyFrom);
new System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<'Result> : System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<'Result>
Public Sub New (copyFrom As DbInterceptionContext)

Parameters

copyFrom
DbInterceptionContext

The context from which to copy state.

Applies to