ISupportsUpsert..::..Upsert<(Of <(<'TArgument>)>)> Method (String, TArgument, UpsertOptions)
Perform an insert or update operation as appropriate.
Namespace:
Tortuga.Chain.DataSourcesAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
IObjectDbCommandBuilder<TArgument> Upsert<TArgument>( string tableName, TArgument argumentValue, UpsertOptions options )
Function Upsert(Of TArgument) ( _ tableName As String, _ argumentValue As TArgument, _ options As UpsertOptions _ ) As IObjectDbCommandBuilder(Of TArgument)
generic<typename TArgument> IObjectDbCommandBuilder<TArgument>^ Upsert( String^ tableName, TArgument argumentValue, UpsertOptions^ options )
Type Parameters
- TArgument
Parameters
- tableName
- Type: String
Name of the table.
- argumentValue
- Type: TArgument
The argument value.
- options
- Type: Tortuga.Chain..::..UpsertOptions
The options for how the insert/update occurs.