DbCommandDefinition Constructor

 

Initializes a new instance of the DbCommandDefinition class.

Namespace:   System.Data.Entity.Core.Common
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_protmethodDbCommandDefinition()

Initializes a new instance of the DbCommandDefinition class.

System_CAPS_protmethodDbCommandDefinition(DbCommand, Func<DbCommand, DbCommand>)

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


DbCommandDefinition Constructor ()

Initializes a new instance of the DbCommandDefinition class.

protected DbCommandDefinition()

DbCommandDefinition Constructor (DbCommand, Func<DbCommand, DbCommand>)

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

protected internal DbCommandDefinition(
	DbCommand prototype,
	Func<DbCommand, DbCommand> cloneMethod
)

Parameters

prototype
Type: System.Data.Common.DbCommand

The supplied DbCommand.

cloneMethod
Type: System.Func<DbCommand, DbCommand>

method used to clone the DbCommand