Table of Contents

Method AsyncReads

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

AsyncReads()

Reads the rows of an async terminal with ReadAsync instead of Read, for this command.

public TThis AsyncReads()

Returns

TThis

The same command.

Remarks

By default every terminal, async ones included, executes asynchronously and reads the rows with Read. This opts in to ReadAsync for this command only: the getters stay synchronous. It changes only how the rows are read: an async terminal reads through the later result sets with NextResultAsync either way. It changes nothing on a synchronous terminal. The same call is available on the mapped views (AsyncReads()), in any order with Skip, Take and SingleResult.