Skip to content

GetListStream Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
IAsyncEnumerable<T> GetListStream(CancellationToken cancellationToken = null)Executes the query and returns a lazy async stream of rows.
IAsyncEnumerable<T> GetListStream(IDatabaseSession connection, CancellationToken cancellationToken = null)Executes the query and returns a lazy async stream of rows.

IAsyncEnumerable<T> GetListStream(IDatabaseSession connection, CancellationToken cancellationToken = null) ​

csharp
IAsyncEnumerable<T> GetListStream(IDatabaseSession connection, CancellationToken cancellationToken = null)

Executes the query and returns a lazy async stream of rows.

Remarks ​

Rows are read on demand from the underlying Reader. The caller is responsible for enumerating the sequence to completion or canceling via CancellationToken on the session API.

IAsyncEnumerable<T> GetListStream(CancellationToken cancellationToken = null) ​

csharp
IAsyncEnumerable<T> GetListStream(CancellationToken cancellationToken = null)

Executes the query and returns a lazy async stream of rows.

Remarks ​

Rows are read on demand from the underlying Reader. The caller is responsible for enumerating the sequence to completion or canceling via CancellationToken on the session API.