Table of Contents

Delegate CreateEnumeratorDelegate<TResult>

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous Func<T1, T2, T3, T4, TResult>.

public delegate IAsyncEnumerator<TResult> CreateEnumeratorDelegate<TResult>(QueryCommand<TResult> queryCommand, InMemoryPreparedQueryCommand<TResult> preparedQueryCommand, object[]? @params, CancellationToken cancellationToken)

Parameters

queryCommand QueryCommand<TResult>
Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous .
preparedQueryCommand InMemoryPreparedQueryCommand<TResult>
Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous .
params object[]
Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous .
cancellationToken CancellationToken
Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous .

Returns

IAsyncEnumerator<TResult>
Creates (or re-initialises) the async enumerator that reads an in-memory query result. Gives a name and XML documentation to the shape that was previously an anonymous .

Type Parameters

TResult

The element type produced by the query.

Extension Methods