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

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

Delete by key.

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

Syntax


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

Type Parameters

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

Parameters

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

Return Value

ISingleRowDbCommandBuilder.