dotConnect for MySQL Documentation
Devart.Common Namespace / DbCommandBase Class
Fields Properties Methods Events

In This Topic
    DbCommandBase Class Members
    In This Topic

    The following tables list the members exposed by DbCommandBase.

    Public Fields
     NameDescription
    Public FieldGets or sets the default timeout for all commands.  
    Top
    Public Properties
     NameDescription
    Public PropertyOverridden. Gets or sets the SQL statement to execute against a data source.  
    Public PropertyOverridden. Gets or sets the wait time before terminating an attempt to execute a command and generating an error. Note that it is the time to wait for any server reply since the command was sent to a server, and it doesn't include the time necessary to fetch data if the command selects some data.  
    Public PropertyOverridden. Gets or sets a value indicating how the CommandText property is to be interpreted.  
    Public Property (Inherited from System.Data.Common.DbCommand)
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets a form or other container that the DbCommandBase instance belongs to.  
    Public PropertyGets or sets a value indicating whether the command object regenerates parameter objects if text of the command is changed.  
    Public Property (Inherited from System.Data.Common.DbCommand)
    Public Property (Inherited from System.ComponentModel.Component)
    Public Property (Inherited from System.Data.Common.DbCommand)
    Public PropertyOverridden. Gets or sets how command results are applied to the System.Data.DataRow when used by the System.Data.Common.DbDataAdapter.Update(System.Data.DataSet) method of the System.Data.Common.DbDataAdapter.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Starts an asynchronous invocation of an ExecuteNonQuery method.  
    Public MethodOverloaded. Starts an asynchronous invocation of an System.Data.Common.DbCommand.ExecuteReader method.  
    Public MethodOverridden. Attempts to cancel the execution of a query currently running.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.Data.Common.DbCommand)
    Public Method (Inherited from System.ComponentModel.Component)
    Public MethodEnds an asynchronous invocation of the ExecuteNonQuery method.  
    Public MethodEnds an asynchronous invocation of the System.Data.Common.DbCommandBase.ExecuteReader method.  
    Public MethodOverridden. Executes SQL statement against the System.Data.Common.DbCommand.Connection and returns the number of rows affected.  
    Public MethodReturns a specific subset of rows when paging through the results of a query.  
    Public MethodOverloaded.  (Inherited from System.Data.Common.DbCommand)
    Public MethodOverridden. Executes 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.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodReturns count of records in the resultset.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverridden. Creates a prepared (or compiled) version of the command on the server.  
    Public Method  
    Public MethodResets CommandTimeout to its default value, which is taken from DefaultCommandTimeout.  
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.ComponentModel.Component)
    Top
    See Also