PostgreSqlDataSourceBase..::..Upsert<(Of <(<'TArgument>)>)> Method (PostgreSqlObjectName, TArgument, UpsertOptions)
Creates a operation used to perform an "upsert" operation.
Namespace:
Tortuga.Chain.PostgreSqlAssembly: Tortuga.Chain.PostgreSql (in Tortuga.Chain.PostgreSql.dll)
Syntax
public ObjectDbCommandBuilder<NpgsqlCommand, NpgsqlParameter, TArgument> Upsert<TArgument>( PostgreSqlObjectName tableName, TArgument argumentValue, UpsertOptions options )
Public Function Upsert(Of TArgument) ( _ tableName As PostgreSqlObjectName, _ argumentValue As TArgument, _ options As UpsertOptions _ ) As ObjectDbCommandBuilder(Of NpgsqlCommand, NpgsqlParameter, TArgument)
public: generic<typename TArgument> ObjectDbCommandBuilder<NpgsqlCommand^, NpgsqlParameter^, TArgument>^ Upsert( PostgreSqlObjectName^ tableName, TArgument argumentValue, UpsertOptions^ options )
Type Parameters
- TArgument
Parameters
- tableName
- Type: Tortuga.Chain.PostgreSql..::..PostgreSqlObjectName
- argumentValue
- Type: TArgument
- options
- Type: Tortuga.Chain..::..UpsertOptions