Dela via


DbConnectionInterceptionContext Constructors

Definition

Overloads

DbConnectionInterceptionContext()

Constructs a new DbConnectionInterceptionContext with no state.

DbConnectionInterceptionContext(DbInterceptionContext)

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

DbConnectionInterceptionContext()

Constructs a new DbConnectionInterceptionContext with no state.

public DbConnectionInterceptionContext ();
Public Sub New ()

Applies to

DbConnectionInterceptionContext(DbInterceptionContext)

Creates a new DbConnectionInterceptionContext 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 : System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext
Public Sub New (copyFrom As DbInterceptionContext)

Parameters

copyFrom
DbInterceptionContext

The context from which to copy state.

Applies to