Table of Contents

Class IgniteDbCommand

Namespace
Apache.Ignite.Sql
Assembly
Apache.Ignite.dll

Ignite database command.

public sealed class IgniteDbCommand : DbCommand, IComponent, IDbCommand, IDisposable, IAsyncDisposable
Inheritance
IgniteDbCommand
Implements
Inherited Members

Properties

CommandText

[AllowNull]
public override string CommandText { get; set; }

Property Value

string

CommandTimeout

public override int CommandTimeout { get; set; }

Property Value

int

CommandType

public override CommandType CommandType { get; set; }

Property Value

CommandType

DbConnection

protected override DbConnection? DbConnection { get; set; }

Property Value

DbConnection

DbParameterCollection

protected override DbParameterCollection DbParameterCollection { get; }

Property Value

DbParameterCollection

DbTransaction

protected override DbTransaction? DbTransaction { get; set; }

Property Value

DbTransaction

DesignTimeVisible

public override bool DesignTimeVisible { get; set; }

Property Value

bool

IgniteDbTransaction

Gets or sets the transaction within which the command executes.

public IgniteDbTransaction? IgniteDbTransaction { get; set; }

Property Value

IgniteDbTransaction

PageSize

Gets or sets the page size (number of rows fetched at a time by the underlying Ignite data reader).

public int PageSize { get; set; }

Property Value

int

UpdatedRowSource

public override UpdateRowSource UpdatedRowSource { get; set; }

Property Value

UpdateRowSource

Methods

Cancel()

public override void Cancel()

CreateDbParameter()

protected override DbParameter CreateDbParameter()

Returns

DbParameter

Dispose(bool)

protected override void Dispose(bool disposing)

Parameters

disposing bool

ExecuteDbDataReader(CommandBehavior)

protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior)

Parameters

behavior CommandBehavior

Returns

DbDataReader

ExecuteDbDataReaderAsync(CommandBehavior, CancellationToken)

protected override Task<DbDataReader> ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)

Parameters

behavior CommandBehavior
cancellationToken CancellationToken

Returns

Task<DbDataReader>

ExecuteNonQuery()

public override int ExecuteNonQuery()

Returns

int

ExecuteNonQueryAsync(CancellationToken)

[SuppressMessage("Reliability", "CA2007:Consider calling ConfigureAwait on the awaited task", Justification = "False positive")]
public override Task<int> ExecuteNonQueryAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task<int>

ExecuteScalar()

public override object? ExecuteScalar()

Returns

object

ExecuteScalarAsync(CancellationToken)

[SuppressMessage("Reliability", "CA2007:Consider calling ConfigureAwait on the awaited task", Justification = "False positive")]
public override Task<object?> ExecuteScalarAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task<object>

Prepare()

public override void Prepare()

ToString()

public override string ToString()

Returns

string