Table of Contents

Method DequeueAsMappedDictionaries

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

DequeueAsMappedDictionaries(QueryResult<Queue<object?[]>>)

Returns an enumerable that dequeues the results and returns a column mapped dictionary for each entry.DBNull values are converted to null.

public static IEnumerable<Dictionary<string, object?>> DequeueAsMappedDictionaries(this QueryResult<Queue<object?[]>> source)

Parameters

source QueryResult<Queue<object[]>>

The query result. Typically produced by a .Retrieve method.

Returns

IEnumerable<Dictionary<string, object>>

An enumerable that dequeues the results and returns a column mapped dictionary for each entry

DequeueAsMappedDictionaries(Task<QueryResult<Queue<object?[]>>>)

Returns an enumerable that dequeues the results and returns a column mapped dictionary for each entry.DBNull values are converted to null.

public static ValueTask<IEnumerable<Dictionary<string, object?>>> DequeueAsMappedDictionaries(this Task<QueryResult<Queue<object?[]>>> source)

Parameters

source Task<QueryResult<Queue<object[]>>>

The query result. Typically produced by a .Retrieve method.

Returns

ValueTask<IEnumerable<Dictionary<string, object>>>

An enumerable that dequeues the results and returns a column mapped dictionary for each entry

DequeueAsMappedDictionaries(ValueTask<QueryResult<Queue<object?[]>>>)

Returns an enumerable that dequeues the results and returns a column mapped dictionary for each entry.DBNull values are converted to null.

public static ValueTask<IEnumerable<Dictionary<string, object?>>> DequeueAsMappedDictionaries(this ValueTask<QueryResult<Queue<object?[]>>> source)

Parameters

source ValueTask<QueryResult<Queue<object[]>>>

The query result. Typically produced by a .Retrieve method.

Returns

ValueTask<IEnumerable<Dictionary<string, object>>>

An enumerable that dequeues the results and returns a column mapped dictionary for each entry