Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

GenericDbDataSource..::..ExecuteStream Method

Executes the specified implementation.

Namespace:  Tortuga.Chain
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


Public Function ExecuteStream ( _
	executionToken As CommandExecutionToken(Of DbCommand, DbParameter), _
	implementation As StreamingCommandImplementation(Of DbCommand), _
	state As Nullable(Of Object) _
) As StreamingCommandCompletionToken

Parameters

executionToken
Type: Tortuga.Chain.Core..::..CommandExecutionToken<(Of <(<'DbCommand, DbParameter>)>)>
The execution token.
implementation
Type: Tortuga.Chain.Core..::..StreamingCommandImplementation<(Of <(<'DbCommand>)>)>
The implementation.
state
Type: Nullable<(Of <(<'Object>)>)>
The state.

Return Value

The caller is expected to use the StreamingCommandCompletionToken to close any lingering connections and fire appropriate events.

Exceptions


ExceptionCondition
[ArgumentNullException]executionToken
[ArgumentNullException]implementation