AdoDataConnectionExecuteNonQueryAsync(String, CancellationToken, Object) Method

Executes the SQL statement using Connection, and returns the number of rows affected.

Definition

Namespace: Gemstone.Data
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.170 -- Release Build+2a9fa3c66c28e3c3cab7bdd2c7a3badf828f6ba0
public Task<int> ExecuteNonQueryAsync(
	string sqlFormat,
	CancellationToken cancellationToken,
	params Object?[] parameters
)

Parameters

sqlFormat  String
Format string for the SQL statement to be executed.
cancellationToken  CancellationToken
Propagates notification that operations should be canceled.
parameters  Object
The parameter values to be used to fill in DbParameter parameters.

Return Value

TaskInt32
The number of rows affected.

See Also