Table of Contents

Class ChannelDbExtensions

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Channel.dll

Rows from a mapped query into a channel.

public static class ChannelDbExtensions
Inheritance
ChannelDbExtensions
Inherited Members

Methods

ToBoundedChannelReader<T>(IMappedQuery<T>, int, CancellationToken)

Reads the query into a new bounded channel and returns its reader.

ToBoundedChannel<T>(IMappedQuery<T>, int, CancellationToken)

Reads the query into a new bounded channel and returns the channel.

ToChannelHoldingConnection<T>(IMappedQuery<T>, ChannelWriter<T>, TimeSpan, bool, CancellationToken)

Reads the query one row at a time and writes each row to a channel you own, leaving the channel open.

ToChannelHoldingConnection<T>(IMappedQuery<T>, ChannelWriter<T>, TimeSpan, CancellationToken)

Reads the query one row at a time and writes each row to a channel you own, leaving the channel open.

ToChannelHoldingConnection<T>(IMappedQuery<T>, Channel<T>, TimeSpan, bool, CancellationToken)

Reads the query one row at a time and writes each row to a channel you own, leaving the channel open.

ToChannelHoldingConnection<T>(IMappedQuery<T>, Channel<T>, TimeSpan, CancellationToken)

Reads the query one row at a time and writes each row to a channel you own, leaving the channel open.

ToChannelReader<T>(IMappedQuery<T>, bool, CancellationToken)

Reads the query into a new unbounded channel and returns its reader.

ToChannelReader<T>(IMappedQuery<T>, CancellationToken)

Reads the query into a new unbounded channel and returns its reader.

ToChannel<T>(IMappedQuery<T>, bool, CancellationToken)

Reads the query into a new unbounded channel and returns the channel.

ToChannel<T>(IMappedQuery<T>, CancellationToken)

Reads the query into a new unbounded channel and returns the channel.

ToChannel<T>(IMappedQuery<T>, ChannelWriter<T>, bool, CancellationToken)

Reads the query and writes each row to a channel you own, leaving the channel open.

ToChannel<T>(IMappedQuery<T>, ChannelWriter<T>, CancellationToken)

Reads the query and writes each row to a channel you own, leaving the channel open.

ToChannel<T>(IMappedQuery<T>, Channel<T>, bool, CancellationToken)

Reads the query and writes each row to a channel you own, leaving the channel open.

ToChannel<T>(IMappedQuery<T>, Channel<T>, CancellationToken)

Reads the query and writes each row to a channel you own, leaving the channel open.

ToChannel<T>(IMappedQuery<T>, out Task<long>, bool, CancellationToken)

Reads the query into a new unbounded channel and returns the channel.

ToChannel<T>(IMappedQuery<T>, out Task<long>, CancellationToken)

Reads the query into a new unbounded channel and returns the channel.