Tortuga.Chain Namespace
Tortuga.Chain.Metadata Namespace

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

Delete multiple rows by key.

Namespace:  Tortuga.Chain.MySql
Assembly:  Tortuga.Chain.MySql (in Tortuga.Chain.MySql.dll)

Syntax


[SuppressMessageAttribute]
public MultipleRowDbCommandBuilder<MySqlCommand, MySqlParameter> DeleteByKeyList<TKey>(
	string tableName,
	IEnumerable<TKey> keys
)
<SuppressMessageAttribute> _
Public Function DeleteByKeyList(Of TKey) ( _
	tableName As String, _
	keys As IEnumerable(Of TKey) _
) As MultipleRowDbCommandBuilder(Of MySqlCommand, MySqlParameter)
[SuppressMessageAttribute]
public:
generic<typename TKey>
MultipleRowDbCommandBuilder<MySqlCommand^, MySqlParameter^>^ DeleteByKeyList(
	String^ tableName, 
	IEnumerable<TKey>^ keys
)

Type Parameters

TKey
The type of the t key.

Parameters

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

Return Value

MultipleRowDbCommandBuilder<AbstractCommand, AbstractParameter>.

Exceptions