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