DataConnector | ComponentOne
C1.AdoNet.Json Assembly / C1.DataConnector.AdoNet Namespace / C1CommandBase Class
Fields Properties Methods Events


In This Topic
    C1CommandBase Class Members
    In This Topic

    The following tables list the members exposed by C1CommandBase.

    Protected Fields
     NameDescription
    Protected FieldA reference to the instance of the C1DataReader that is currently using this command.  
    Top
    Public Properties
     NameDescription
    Public PropertyOverridden.  Gets or sets the text command to run against the data source.  
    Public Property (Inherited from System.Data.Common.DbCommand)
    Public Property (Inherited from System.Data.Common.DbCommand)
    Public Property (Inherited from System.Data.Common.DbCommand)
    Public Property (Inherited from System.ComponentModel.Component)
    Public Property The Parameters list of this command.  
    Public Property The table that is returned when insert/update/delete with returning statement  
    Public Property (Inherited from System.ComponentModel.Component)
    Public Property (Inherited from System.Data.Common.DbCommand)
    Public Property (Inherited from System.Data.Common.DbCommand)
    Top
    Protected Properties
     NameDescription
    Protected PropertyTo check whether or not more data can be retrieved from the source as the result of executing this C1CommandBase.  
    Protected Property (Inherited from System.ComponentModel.Component)
    Protected Property (Inherited from System.Data.Common.DbCommand)
    Protected PropertyOverridden.  Get the collection containing all the parameters used by this command  
    Protected PropertyOverridden. Gets or sets the transaction within which the command executes. Must be a C1TransactionBase.  
    Protected Property (Inherited from System.ComponentModel.Component)
    Protected Property (Inherited from System.ComponentModel.Component)
    Protected Property A key which uniquely identifies this command.  
    Protected Property The logger where the runtime messages are passed to.  
    Top
    Public Methods
     NameDescription
    Public MethodOverridden.  Attempts to cancel the execution of this command  
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.Data.Common.DbCommand)
    Public MethodOverloaded. Overridden.  Disposes the resources of this command  
    Public MethodOverridden.  Executes an SQL statement against a connection object.  
    Public MethodOverloaded. Overridden. An asynchronous version of method ExecuteNonQuery that executes a SQL statement against a connection object.  
    Public MethodOverloaded.  (Inherited from System.Data.Common.DbCommand)
    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. All other columns and rows are ignored.  
    Public MethodOverloaded. Overridden. An asynchronous version of method ExecuteScalar that executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverridden.  Creates a prepared (or compiled) version of the command on the data source.  
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Creates and returns a new instance of the System.Data.Common.DbParameter class.  
    Protected Method Execute a list of nonquery in Batch.  
    Protected MethodOverridden.  Executes the command text against the connection.  
    Protected MethodOverridden. An asynchronous version of method ExecuteDbDataReader that executes the command text against the connection.  
    Protected Method The abstract core method provided to execute a non-query statement.  
    Protected MethodExecute select directly in the server pointed by DbConnection.  
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method Requests more rows from the result of the last executed command.  
    Protected Method Gets the column names used to identify a specific row in an UPDATE or DELETE statement.  
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Protected MethodChecks whether the rows of the tables referred in the passed statement need to be retrieved from the server in full or not.  
    Protected MethodChecks whether the passed statements can or cannot be executed on the server as a batch operation.  
    Protected MethodVirtual method to check whether or not selectStatement can be executed directly on the server used by this command, considering the selected column expressions.  
    Protected MethodVirtual method to check whether or not deleteStatement can be executed directly on the server pointed by the connection used by this command.  
    Protected MethodVirtual method to check whether or not groupby can be executed directly on the server pointed by the connection used by this command.  
    Protected MethodVirtual method to check whether or not insertStatement can be executed directly on the server pointed by the connection used by this command.  
    Protected MethodVirtual method to check whether or not joinStatement can be executed directly on the server pointed by the connection used by this command.  
    Protected MethodVirtual method to check whether or not selectStmt.Limit.Limit and selectStmt.Offset.Offset can be executed directly on the server pointed by the connection used by this command.  
    Protected MethodChecks whether the passed orderby can or cannot be executed on the server.  
    Protected MethodVirtual method to check whether or not updateStatement can be executed directly on the server pointed by the connection used by this command.  
    Protected MethodVirtual method to check whether or not where can be executed directly on the server pointed by the connection used by this command.  
    Protected Method Virtual method to validate if the given statement is supported by the implemented provider.  
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.ComponentModel.Component)
    Top
    See Also