[]
C1MagentoCommand contains all the necessary information to fully specify a Magento command and execute it.
public sealed class C1MagentoCommand : C1CommandBase<C1MagentoCommand>, IComponent, IDbCommand, IDisposable, IAsyncDisposable, ICloneable
| Name | Description |
|---|---|
| C1MagentoCommand() | Create a C1MagentoCommand instance. |
| C1MagentoCommand(C1MagentoConnection) | Create a C1MagentoCommand instance with a connection. |
| C1MagentoCommand(C1MagentoConnection, string) | Create a C1MagentoCommand instance with a connection and a command text. |
| Name | Description |
|---|---|
| CanGetNextData | To check whether or not more data can be retrieved from the source as the result of executing this C1MagentoCommand. |
| CommandTimeout | Gets or sets the wait time before terminating the attempt to execute a command and generating an error. |
| CommandType | Indicates or specifies how the CommandText property is interpreted. |
| DbConnection | Gets or sets the DbConnection used by this DbCommand. |
| DesignTimeVisible | Gets or sets a value indicating whether the command object should be visible in a customized interface control. |
| UpdatedRowSource | Gets or sets how command results are applied to the DataRow when used by the Update method of a DbDataAdapter. |
| Name | Description |
|---|---|
| ExecuteBatchCoreAsync(IList<ISQLStatement>, CancellationToken) | Execute a list of nonquery in Batch. |
| ExecuteNonQueryCoreAsync(ISQLStatement, CancellationToken, SourceTable) | The core method provided to execute a non-query statement. |
| ExecutePrimitiveSqlAsync(SelectStatement, CancellationToken, bool) | Execute |
| GetFullDataMagento(SelectStatement, CancellationToken) | Get full data for Magento. |
| GetNextResultAsync(CancellationToken) | Request to get more rows result considering the last executed command. |
| GetRequiredColumnNames(string, IList<AssignExpression>) | Get the column names used to identify a specific row into update/delete query. |
| IgnoreCaseEquals(string, string) | |
| Prepare() | Creates a prepared (or compiled) version of the command on the data source. |
| SupportColumnExpression(SelectStatement) | To check whether or not |
| SupportDelete(DeleteStatement) | To check whether or not |
| SupportGroupBy(GroupbyClause) | To check whether or not |
| SupportInsert(InsertStatement) | To check or not if |
| SupportJoin(SelectStatement) | To check whether or not joinStatement can be executed directly on the Magento server. |
| SupportOrderBy(IList<OrderbyColumn>) | Checks whether the passed |
| SupportUpdate(UpdateStatement) | To check whether or not updateStatement can be executed directly on the Magento server. |
| SupportWhere(IExpression) | To check whether or not |
| ValidateStatement(ISQLStatement) | Validate for all type of statement. |