PostgreSqlDataSourceBase..::..UpdateByKeyList<(Of <(<'TArgument, TKey>)>)> Method (PostgreSqlObjectName, TArgument, IEnumerable<(Of <(<'TKey>)>)>, UpdateOptions)
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>( PostgreSqlObjectName tableName, TArgument newValues, IEnumerable<TKey> keys, UpdateOptions options )
<SuppressMessageAttribute> _ Public Function UpdateByKeyList(Of TArgument, TKey) ( _ tableName As PostgreSqlObjectName, _ newValues As TArgument, _ keys As IEnumerable(Of TKey), _ options As UpdateOptions _ ) As MultipleRowDbCommandBuilder(Of NpgsqlCommand, NpgsqlParameter)
[SuppressMessageAttribute] public: generic<typename TArgument, typename TKey> MultipleRowDbCommandBuilder<NpgsqlCommand^, NpgsqlParameter^>^ UpdateByKeyList( PostgreSqlObjectName^ tableName, TArgument newValues, IEnumerable<TKey>^ keys, UpdateOptions^ options )
Type Parameters
- TArgument
- The type of the t argument.
- TKey
- The type of the t key.
Parameters
- tableName
- Type: Tortuga.Chain.PostgreSql..::..PostgreSqlObjectName
Name of the table.
- newValues
- Type: TArgument
The new values to use.
- keys
- Type: IEnumerable<(Of <(<'TKey>)>)>
The keys.
- options
- Type: Tortuga.Chain..::..UpdateOptions
Update options.