Table of Contents

Class DataflowExtensions

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Dataflow.dll

Extensions that read the rows of a mapped query into a Dataflow block.

public static class DataflowExtensions
Inheritance
DataflowExtensions
Inherited Members

Methods

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

Reads the query into a new unbounded block and returns it.

AsSourceBlock<T>(IMappedQuery<T>, DataflowBlockOptions, CancellationToken)

Reads the query into a new block made from options and returns it.

ToTargetBlockHoldingConnection<T>(IMappedQuery<T>, ITargetBlock<T>, TimeSpan, bool, CancellationToken)

Reads the query one row at a time and sends each row to a block you own, completing the block when the pass ends if complete is true.

ToTargetBlockHoldingConnection<T>(IMappedQuery<T>, ITargetBlock<T>, TimeSpan, CancellationToken)

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

ToTargetBlock<T>(IMappedQuery<T>, ITargetBlock<T>, bool, CancellationToken)

Reads the query and sends each row to a block you own, completing the block when the pass ends if complete is true.

ToTargetBlock<T>(IMappedQuery<T>, ITargetBlock<T>, CancellationToken)

Reads the query and sends each row to a block you own, leaving the block open.