dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2Command Class

In This Topic
DB2Command Class Methods
In This Topic

For a list of all members of this type, see DB2Command members.

Public Methods
 NameDescription
Public MethodOverloaded. Starts an asynchronous invocation of an ExecuteNonQuery method. (Inherited from Devart.Common.DbCommandBase)
Public MethodOverloaded. Starts an asynchronous invocation of an System.Data.Common.DbCommand.ExecuteReader method. (Inherited from Devart.Common.DbCommandBase)
Public MethodOverridden. Attempts to cancel the command execution.  
Public MethodCreates a new object that is a copy of the current DB2Command instance.  
Public Method (Inherited from System.MarshalByRefObject)
Public MethodCreates a new instance of a DB2Parameter object.  
Public Method (Inherited from System.ComponentModel.Component)
Public MethodEnds an asynchronous invocation of the ExecuteNonQuery method.  
Public MethodEnds an asynchronous invocation of the ExecuteReader method.  
Public MethodOverridden. Executes SQL statement against the DB2Connection and returns the number of rows affected.  
Public MethodReturns a specific subset of rows when paging through the results of a query.  
Public MethodOverloaded. Sends the CommandText to the Connection and builds a DB2DataReader.  
Public MethodExecutes the query, and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. (Inherited from Devart.Common.DbCommandBase)
Public MethodSends the CommandText to the Connection and builds an System.Xml.XmlReader. If the first column in the result set is not of a supported type (any character, binary type, or DB2Type.XML), an Invalid Column Type exception will be thrown.  
Public Method (Inherited from System.MarshalByRefObject)
Public MethodReturns count of records in the resultset. (Inherited from Devart.Common.DbCommandBase)
Public Method (Inherited from System.MarshalByRefObject)
Public MethodCreates a prepared (or compiled) version of the command on the server. (Inherited from Devart.Common.DbCommandBase)
Public Method (Inherited from Devart.Common.DbCommandBase)
Public MethodResets CommandTimeout to its default value, which is taken from DefaultCommandTimeout. (Inherited from Devart.Common.DbCommandBase)
Public Method (Inherited from System.ComponentModel.Component)
Top
See Also