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

MaterializerUtilities..::..CheckDeleteRowCount<(Of <(<'T>)>)> Method (T, DeleteOptions, Nullable<(Of <(<'Int32>)>)>)

Checks the delete row count.

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

Syntax


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

Type Parameters

T

Parameters

executionToken
Type: T
The execution token.
deleteOptions
Type: Tortuga.Chain..::..DeleteOptions
The delete options.
expectedRowCount
Type: Nullable<(Of <(<'Int32>)>)>
The expected row count.

Return Value

The execution token with an attached event handler.