PostgreSqlDataSourceBase..::..DeleteByKeyList<(Of <(<'TKey>)>)> Method (String, IEnumerable<(Of <(<'TKey>)>)>, DeleteOptions)
Delete multiple rows by key.
Namespace:
Tortuga.Chain.PostgreSqlAssembly: Tortuga.Chain.PostgreSql (in Tortuga.Chain.PostgreSql.dll)
Syntax
[SuppressMessageAttribute] public MultipleRowDbCommandBuilder<NpgsqlCommand, NpgsqlParameter> DeleteByKeyList<TKey>( string tableName, IEnumerable<TKey> keys, DeleteOptions options )
<SuppressMessageAttribute> _ Public Function DeleteByKeyList(Of TKey) ( _ tableName As String, _ keys As IEnumerable(Of TKey), _ options As DeleteOptions _ ) As MultipleRowDbCommandBuilder(Of NpgsqlCommand, NpgsqlParameter)
[SuppressMessageAttribute] public: generic<typename TKey> MultipleRowDbCommandBuilder<NpgsqlCommand^, NpgsqlParameter^>^ 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
Update options.