[]
        
(Showing Draft Content)

C1.AdoNet.Kintone.C1KintoneCommand

C1KintoneCommand Class

C1KintoneCommand contains all the necessary information to fully specify a Kintone command and execute it.

Namespace: C1.AdoNet.Kintone
Assembly: C1.AdoNet.Kintone.dll
Syntax
public sealed class C1KintoneCommand : C1CommandBase<C1KintoneCommand>, IComponent, IDbCommand, IDisposable, IAsyncDisposable, ICloneable

Constructors

Name Description
C1KintoneCommand()

Create a C1KintoneCommand instance.

C1KintoneCommand(C1KintoneConnection)

Create a C1KintoneCommand instance with a connection.

C1KintoneCommand(C1KintoneConnection, string)

Create a C1KintoneCommand instance with a connection and a command text.

Properties

Name Description
CanGetNextData

To check whether or not more data can be retrieved from the source as the result of executing this C1KintoneCommand.

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.

Methods

Name Description
Dispose(bool)

Releases the unmanaged resources used by the Component and optionally releases the managed resources.

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 selectStmt directly in the Kintone server.

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.

Prepare()

Creates a prepared (or compiled) version of the command on the data source.

SupportColumnExpression(SelectStatement)

To check whether or not selectStatement can be executed directly on the Kintone server considering the selected column expressions.

SupportDelete(DeleteStatement)

To check whether or not deleteStatement can be executed directly on the Kintone server.

SupportGroupBy(GroupbyClause)

To check whether or not groupby can be executed directly on the Kintone server.

SupportInsert(InsertStatement)

To check or not if insertStatement can be executed directly on the Kintone server.

SupportJoin(SelectStatement)

To check whether or not joinStatement can be executed directly on the Kintone server.

SupportLimit(SelectStatement)

To check whether or not selectStmt.Limit.Limit and selectStmt.Offset.Offset can be executed directly on the Kintone server.

SupportUpdate(UpdateStatement)

To check whether or not updateStatement can be executed directly on the Kintone server.

SupportWhere(IExpression)

To check whether or not where can be executed directly on the Kintone server.

ValidateStatement(ISQLStatement)

Validate for all type of statement.