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

ISupportsDeleteByKey..::..DeleteByKey<(Of <(<'TObject>)>)> Method (Int32, DeleteOptions)

Delete by key.

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

Syntax


ISingleRowDbCommandBuilder<TObject> DeleteByKey<TObject>(
	int key,
	DeleteOptions options
)
Function DeleteByKey(Of TObject) ( _
	key As Integer, _
	options As DeleteOptions _
) As ISingleRowDbCommandBuilder(Of TObject)
generic<typename TObject>
ISingleRowDbCommandBuilder<TObject>^ DeleteByKey(
	int^ key, 
	DeleteOptions^ options
)

Type Parameters

TObject
The type of the object. Used to determine which table will be modified.

Parameters

key
Type: Int32
The key.
options
Type: Tortuga.Chain..::..DeleteOptions
The options.

Return Value

ISingleRowDbCommandBuilder.