[]
The command base class used by all C1DataConnector.AdoNet providers.
public abstract class C1CommandBase : DbCommand, IComponent, IDbCommand, IDisposable, IAsyncDisposable
Name | Description |
---|---|
C1CommandBase() | The default constructor for creating a new C1CommandBase instance. |
C1CommandBase(ILogger) | The constructor for creating a new C1CommandBase instance considering a given logger. |
Name | Description |
---|---|
DataReader | A reference to the instance of the C1DataReader that is currently using this command. |
Name | Description |
---|---|
CanGetNextData | To check whether or not more data can be retrieved from the source as the result of executing this C1CommandBase. |
CommandText | Gets or sets the text command to run against the data source. |
DbParameterCollection | Get the collection containing all the parameters used by this command |
DbTransaction | Gets or sets the transaction within which the command executes. Must be a C1.DataConnector.AdoNet.C1TransactionBase. |
Key | A key which uniquely identifies this command. |
Logger | The logger where the runtime messages are passed to. |
Parameters | The Parameters list of this command. |
ReturningTable | The table that is returned when insert/update/delete with returning statement |
Name | Description |
---|---|
Cancel() | Attempts to cancel the execution of this command |
CreateDbParameter() | Creates and returns a new instance of the DbParameter class. |
Dispose(bool) | Disposes the resources of this command |
ExecuteBatchCoreAsync(IList<ISQLStatement>, CancellationToken) | Execute a list of nonquery in Batch. |
ExecuteDbDataReader(CommandBehavior) | Executes the command text against the connection. |
ExecuteDbDataReaderAsync(CommandBehavior, CancellationToken) | An asynchronous version of method ExecuteDbDataReader(CommandBehavior) that executes the command text against the connection. |
ExecuteNonQuery() | Executes an SQL statement against a connection object. |
ExecuteNonQueryAsync(CancellationToken) | An asynchronous version of method ExecuteNonQuery() that executes a SQL statement against a connection object. |
ExecuteNonQueryCoreAsync(ISQLStatement, CancellationToken, SourceTable) | The abstract core method provided to execute a non-query statement. |
ExecutePrimitiveSqlAsync(SelectStatement, CancellationToken, bool) | Execute |
ExecuteScalar() | 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. |
ExecuteScalarAsync(CancellationToken) | 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. |
GetNextResultAsync(CancellationToken) | Requests more rows from the result of the last executed command. |
GetRequiredColumnNames(string, IList<AssignExpression>) | Gets the column names used to identify a specific row in an UPDATE or DELETE statement. |
Prepare() | Creates a prepared (or compiled) version of the command on the data source. |
ShouldRequestAllData(SelectStatement) | Checks whether the rows of the tables referred in the passed |
SupportBatch(IEnumerator<ISQLStatement>) | Checks whether the passed |
SupportColumnExpression(SelectStatement) | Virtual method to check whether or not |
SupportDelete(DeleteStatement) | Virtual method to check whether or not |
SupportGroupBy(GroupbyClause) | Virtual method to check whether or not |
SupportInsert(InsertStatement) | Virtual method to check whether or not |
SupportJoin(SelectStatement) | Virtual method to check whether or not |
SupportLimit(SelectStatement) | Virtual method to check whether or not |
SupportOrderBy(IList<OrderbyColumn>) | Checks whether the passed |
SupportUpdate(UpdateStatement) | Virtual method to check whether or not |
SupportWhere(IExpression) | Virtual method to check whether or not |
ValidateStatement(ISQLStatement) | Virtual method to validate if the given statement is supported by the implemented provider. |