Tortuga.Chain Namespace
Tortuga.Chain.Metadata Namespace

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

Update multiple rows by key.

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

Syntax


[SuppressMessageAttribute]
public MultipleRowDbCommandBuilder<MySqlCommand, MySqlParameter> 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 MySqlCommand, MySqlParameter)
[SuppressMessageAttribute]
public:
generic<typename TArgument, typename TKey>
MultipleRowDbCommandBuilder<MySqlCommand^, MySqlParameter^>^ 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.

Return Value

MultipleRowDbCommandBuilder<AbstractCommand, AbstractParameter>.

Exceptions