Export (0) Print
Expand All

DbCommand Properties

The DbCommand type exposes the following members.

  NameDescription
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property CommandText Gets or sets the text command to run against the data source.
Public property CommandTimeout Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
Public property CommandType Indicates or specifies how the CommandText property is interpreted.
Public property Connection Gets or sets the DbConnection used by this DbCommand.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Protected property DbConnection Gets or sets the DbConnection used by this DbCommand.
Protected property DbParameterCollection Gets the collection of DbParameter objects.
Protected property DbTransaction Gets or sets the DbTransaction within which this DbCommand object executes.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property DesignTimeVisible Gets or sets a value indicating whether the command object should be visible in a customized interface control.
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Parameters Gets the collection of DbParameter objects. For more information on parameters, see Configuring Parameters and Parameter Data Types (ADO.NET).
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Transaction Gets or sets the DbTransaction within which this DbCommand object executes.
Public property UpdatedRowSource Gets or sets how command results are applied to the DataRow when used by the Update method of a DbDataAdapter.
Top

  NameDescription
Explicit interface implemetation Private property IDbCommand.Connection Gets or sets the IDbConnection used by this instance of the IDbCommand.
Explicit interface implemetation Private property IDbCommand.Parameters Gets the IDataParameterCollection.
Explicit interface implemetation Private property IDbCommand.Transaction Gets or sets the DbTransaction within which this DbCommand object executes.
Top

Community Additions

ADD
Show:
© 2014 Microsoft