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

ISupportsDeleteByKeyList..::..DeleteByKeyList<(Of <(<'TKey>)>)> Method (String, IEnumerable<(Of <(<'TKey>)>)>, DeleteOptions)

Deletes a set of records by their primary key.

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

Syntax


IMultipleRowDbCommandBuilder DeleteByKeyList<TKey>(
	string tableName,
	IEnumerable<TKey> keys,
	DeleteOptions options
)
Function DeleteByKeyList(Of TKey) ( _
	tableName As String, _
	keys As IEnumerable(Of TKey), _
	options As DeleteOptions _
) As IMultipleRowDbCommandBuilder
generic<typename TKey>
IMultipleRowDbCommandBuilder^ DeleteByKeyList(
	String^ tableName, 
	IEnumerable<TKey>^ keys, 
	DeleteOptions^ options
)

Type Parameters

TKey
The type of the t key.

Parameters

tableName
Type: String
Name of the table.
keys
Type: IEnumerable<(Of <(<'TKey>)>)>
The keys.
options
Type: Tortuga.Chain..::..DeleteOptions
The options.

Return Value

IMultipleRowDbCommandBuilder.