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

PostgreSqlOpenDataSource..::..ExecuteStream Method

Executes the specified implementation.

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

Syntax


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

Parameters

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