Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbCommand Properties

The DbCommand type exposes the following members.

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

  Name Description
Explicit interface implemetation Private property Supported by the XNA Framework IDbCommand.Connection Gets or sets the IDbConnection used by this instance of the IDbCommand.
Explicit interface implemetation Private property Supported by the XNA Framework IDbCommand.Parameters Gets the IDataParameterCollection.
Explicit interface implemetation Private property Supported by the XNA Framework IDbCommand.Transaction Gets or sets the DbTransaction within which this DbCommand object executes.
Top
Show:
© 2015 Microsoft