MySqlDataSourceBase..::..UpdateByKeyList<(Of <(<'TArgument, TKey>)>)> Method (String, TArgument, IEnumerable<(Of <(<'TKey>)>)>, UpdateOptions)
Update multiple rows by key.
Namespace:
Tortuga.Chain.MySqlAssembly: Tortuga.Chain.MySql (in Tortuga.Chain.MySql.dll)
Syntax
[SuppressMessageAttribute] public MultipleRowDbCommandBuilder<MySqlCommand, MySqlParameter> UpdateByKeyList<TArgument, TKey>( string tableName, TArgument newValues, IEnumerable<TKey> keys, UpdateOptions options )
<SuppressMessageAttribute> _ Public Function UpdateByKeyList(Of TArgument, TKey) ( _ tableName As String, _ newValues As TArgument, _ keys As IEnumerable(Of TKey), _ options As UpdateOptions _ ) As MultipleRowDbCommandBuilder(Of MySqlCommand, MySqlParameter)
[SuppressMessageAttribute] public: generic<typename TArgument, typename TKey> MultipleRowDbCommandBuilder<MySqlCommand^, MySqlParameter^>^ UpdateByKeyList( String^ 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: String
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.