DbCommandDefinition Constructor
Initializes a new instance of the DbCommandDefinition class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | 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 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