RdmCommand Class
Description:
The RdmCommand class, derived from DbConnection, encapsulates all of the information to perform any SQL command, such as an INSERT, a DELETE, an UPDATE, a SELECT, etc. An RdmCommand object can be created by directly calling the constructor or via the generic DbProviderFactory.CreateCommand() method.
Public Constructors:
- RdmCommand()
 - RdmCommand(RdmConnection connection)
 - RdmCommand(string commandText)
 - RdmCommand(string commandText, RdmConnection connection)
 
Public Properties:
- CommandText
 - CommandTimeout
 - CommandType
 - Connection
 - Container (Inherited from Component)
 - DesignTimeVisible (Inherited from Component)
 - Parameters
 - Site (Inherited from Component)
 - Transaction
 - UpdatedRowSource
 
Public Methods:
- Cancel()
 - CreateObjRef(Type requestedType) (Inherited from MarshalByRefObject)
 - CreateParameter()
 - Dispose() (Inherited from Component)
 - Equals(Object other) (Inherited from Object)
 - ExecuteNonQuery()
 - ExecuteReader()
 - ExecuteReader(CommandBehavior)
 - ExecuteScalar()
 - GetHashCode() (Inherited from Object)
 - GetLifetimeService() (Inherited from MarshalByRefObject)
 - GetType() (Inherited from Object)
 - InitializeLifetimeService() (Inherited from MarshalByRefObject)
 - Prepare()
 - ToString() (Inherited from Component)
 
Public Events:
Explicit Interface Implementations:
- IDbConnection IDbCommand.Connection
 - IDbDataParameter IDbCommand.CreateParameter()
 - IDataReader IDbCommand.ExecuteReader()
 - IDataReader IDbCommand.ExecuteReader(CommandBehavior)
 - IDataParameters IDbCommand.Parameters
 - IDbTransaction IDbCommand.Transaction
 
Reference:
For more information, reference MSDN documentation for: System.Data.Common.DbConnection