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

SqlServerTransactionalDataSource..::..ExecuteStream Method

Executes the specified implementation.

Namespace:  Tortuga.Chain.SqlServer
Assembly:  Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)

Syntax


public StreamingCommandCompletionToken ExecuteStream(
	CommandExecutionToken<SqlCommand, SqlParameter> executionToken,
	StreamingCommandImplementation<SqlCommand> implementation,
	Nullable<Object> state
)
Public Function ExecuteStream ( _
	executionToken As CommandExecutionToken(Of SqlCommand, SqlParameter), _
	implementation As StreamingCommandImplementation(Of SqlCommand), _
	state As Nullable(Of Object) _
) As StreamingCommandCompletionToken
public:
StreamingCommandCompletionToken^ ExecuteStream(
	CommandExecutionToken<SqlCommand^, SqlParameter^>^ executionToken, 
	StreamingCommandImplementation<SqlCommand^>^ implementation, 
	Nullable<Object^> state
)

Parameters

executionToken
Type: Tortuga.Chain.Core..::..CommandExecutionToken<(Of <(<'SqlCommand, SqlParameter>)>)>
The execution token.
implementation
Type: Tortuga.Chain.Core..::..StreamingCommandImplementation<(Of <(<'SqlCommand>)>)>
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
NotImplementedException