Table of Contents

ExecuteStringAsync Method

Definition

Namespace
Cuemon.Data
Assemblies
Cuemon.Data.dll
Source
src/Cuemon.Data/DataManager.cs

ExecuteStringAsync(DataStatement, CancellationToken)

Asynchronously executes the command statement and returns a string.

public virtual Task<string> ExecuteStringAsync(DataStatement statement, CancellationToken ct = default)

Parameters

statement DataStatement

The command statement to execute.

ct CancellationToken

A token to cancel the asynchronous operation.

Returns

Task<string>

A task that represents the asynchronous operation. The task result contains a string.