ISupportsUpdateByKey..::..UpdateByKey<(Of <(<'TArgument, TKey>)>)> Method (String, TArgument, TKey, UpdateOptions)
Update a record by its primary key.
Namespace:
Tortuga.Chain.DataSourcesAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
ISingleRowDbCommandBuilder UpdateByKey<TArgument, TKey>( string tableName, TArgument newValues, TKey key, UpdateOptions options )
Function UpdateByKey(Of TArgument, TKey) ( _ tableName As String, _ newValues As TArgument, _ key As TKey, _ options As UpdateOptions _ ) As ISingleRowDbCommandBuilder
generic<typename TArgument, typename TKey> ISingleRowDbCommandBuilder^ UpdateByKey( String^ tableName, TArgument newValues, TKey key, UpdateOptions^ options )
Type Parameters
- TArgument
- The type of the t argument.
- TKey
Parameters
- tableName
- Type: String
Name of the table.
- newValues
- Type: TArgument
The new values to use.
- key
- Type: TKey
The key.
- options
- Type: Tortuga.Chain..::..UpdateOptions
The options.