DbCommandDefinition 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.
Initializes a new instance of the DbCommandDefinition class.
Overloads
DbCommandDefinition() |
Initializes a new instance of the DbCommandDefinition class. |
DbCommandDefinition(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 DbCommandDefinition ();
Protected Sub New ()
Remarks
The parameterless constructor is used by classes that derive from DbCommandDefinition.
Applies to
DbCommandDefinition(DbCommand)
Initializes a new instance of the DbCommandDefinition class using the supplied DbCommand.
protected:
DbCommandDefinition(System::Data::Common::DbCommand ^ prototype);
protected DbCommandDefinition (System.Data.Common.DbCommand prototype);
new System.Data.Common.DbCommandDefinition : System.Data.Common.DbCommand -> System.Data.Common.DbCommandDefinition
Protected Sub New (prototype As DbCommand)
Parameters
Remarks
The supplied DbCommand must implement ICloneable; otherwise a ProviderIncompatibleException is raised.
This constructor is used by classes that derive from DbCommandDefinition.