DbCommandInterceptionContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework