Table of Contents

ExecuteExistsAsync Method

Definition

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

ExecuteExistsAsync(DataStatement, CancellationToken)

Asynchronously executes the command statement and returns true if one or more records exists; otherwise false.

public Task<bool> ExecuteExistsAsync(DataStatement statement, CancellationToken ct = default)

Parameters

statement DataStatement

The command statement to execute.

ct CancellationToken

A token to cancel the asynchronous operation.

Returns

Task<bool>

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