Share via


DbCommandDefinition Constructors

Definition

Overloads

DbCommandDefinition()

Initializes a new instance of the DbCommandDefinition class.

DbCommandDefinition(DbCommand, Func<DbCommand,DbCommand>)

Initializes a new instance of the DbCommandDefinition class using the supplied DbCommand .

DbCommandDefinition()

Initializes a new instance of the DbCommandDefinition class.

protected DbCommandDefinition ();
Protected Sub New ()

Applies to

DbCommandDefinition(DbCommand, Func<DbCommand,DbCommand>)

Initializes a new instance of the DbCommandDefinition class using the supplied DbCommand .

protected internal DbCommandDefinition (System.Data.Common.DbCommand prototype, Func<System.Data.Common.DbCommand,System.Data.Common.DbCommand> cloneMethod);
new System.Data.Entity.Core.Common.DbCommandDefinition : System.Data.Common.DbCommand * Func<System.Data.Common.DbCommand, System.Data.Common.DbCommand> -> System.Data.Entity.Core.Common.DbCommandDefinition
Protected Friend Sub New (prototype As DbCommand, cloneMethod As Func(Of DbCommand, DbCommand))

Parameters

prototype
DbCommand

The supplied DbCommand.

cloneMethod
Func<DbCommand,DbCommand>

method used to clone the DbCommand

Applies to