DbCommand Properties

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 Supported by the .NET Compact Framework Supported by the XNA Framework CommandText Gets or sets the text command to run against the data source.
Public property Supported by the .NET Compact Framework 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 .NET Compact Framework Supported by the XNA Framework CommandType Indicates or specifies how the CommandText property is interpreted.
Public property Supported by the .NET Compact Framework 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 .NET Compact Framework Supported by the XNA Framework DbConnection Gets or sets the DbConnection used by this DbCommand.
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework DbParameterCollection Gets the collection of DbParameter objects.
Protected property Supported by the .NET Compact Framework 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 .NET Compact Framework 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 .NET Compact Framework 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 .NET Compact Framework Supported by the XNA Framework Parameters Gets the collection of DbParameter objects. For more information on parameters, see Configuring Parameters and Parameter Data Types (ADO.NET).
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Transaction Gets or sets the DbTransaction within which this DbCommand object executes.
Public property Supported by the .NET Compact Framework 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

Community Additions

ADD
Show:
© 2016 Microsoft