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

MaterializerUtilities..::..CheckUpdateRowCount<(Of <(<'T>)>)> Method (T, UpdateOptions, Nullable<(Of <(<'Int32>)>)>)

Checks the update row count.

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

Syntax


public static T CheckUpdateRowCount<T>(
	this T executionToken,
	UpdateOptions updateOptions,
	Nullable<int> expectedRowCount
)
where T : ExecutionToken, ExecutionToken
<ExtensionAttribute> _
Public Shared Function CheckUpdateRowCount(Of T As {ExecutionToken, ExecutionToken}) ( _
	executionToken As T, _
	updateOptions As UpdateOptions, _
	expectedRowCount As Nullable(Of Integer) _
) As T
[ExtensionAttribute]
public:
generic<typename T>
where T : ExecutionToken, ExecutionToken
static T CheckUpdateRowCount(
	T executionToken, 
	UpdateOptions^ updateOptions, 
	Nullable<int^> expectedRowCount
)

Type Parameters

T

Parameters

executionToken
Type: T
The execution token.
updateOptions
Type: Tortuga.Chain..::..UpdateOptions
The update options.
expectedRowCount
Type: Nullable<(Of <(<'Int32>)>)>
The expected row count.

Return Value

The execution token with an attached event handler.