PostgreSqlDataSourceBase..::..UpdateByKeyList<(Of <(<'TArgument, TKey>)>)> Method (String, TArgument, IEnumerable<(Of <(<'TKey>)>)>)
Update multiple rows by key.
Namespace:
Tortuga.Chain.PostgreSqlAssembly: Tortuga.Chain.PostgreSql (in Tortuga.Chain.PostgreSql.dll)
Syntax
[SuppressMessageAttribute] public MultipleRowDbCommandBuilder<NpgsqlCommand, NpgsqlParameter> UpdateByKeyList<TArgument, TKey>( string tableName, TArgument newValues, IEnumerable<TKey> keys )
<SuppressMessageAttribute> _ Public Function UpdateByKeyList(Of TArgument, TKey) ( _ tableName As String, _ newValues As TArgument, _ keys As IEnumerable(Of TKey) _ ) As MultipleRowDbCommandBuilder(Of NpgsqlCommand, NpgsqlParameter)
[SuppressMessageAttribute] public: generic<typename TArgument, typename TKey> MultipleRowDbCommandBuilder<NpgsqlCommand^, NpgsqlParameter^>^ UpdateByKeyList( String^ tableName, TArgument newValues, IEnumerable<TKey>^ keys )
Type Parameters
- TArgument
- The type of the t argument.
- TKey
- The type of the t key.
Parameters
- tableName
- Type: String
Name of the table.
- newValues
- Type: TArgument
The new values to use.
- keys
- Type: IEnumerable<(Of <(<'TKey>)>)>
The keys.