Tortuga.Chain Namespace
Tortuga.Chain.Metadata Namespace

PostgreSqlDataSourceBase..::..UpdateSet Method (PostgreSqlObjectName, String, UpdateOptions)

Update multiple records using an update expression.

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

Syntax


public IUpdateManyDbCommandBuilder<NpgsqlCommand, NpgsqlParameter> UpdateSet(
	PostgreSqlObjectName tableName,
	string updateExpression,
	UpdateOptions options
)
Public Function UpdateSet ( _
	tableName As PostgreSqlObjectName, _
	updateExpression As String, _
	options As UpdateOptions _
) As IUpdateManyDbCommandBuilder(Of NpgsqlCommand, NpgsqlParameter)
public:
IUpdateManyDbCommandBuilder<NpgsqlCommand^, NpgsqlParameter^>^ UpdateSet(
	PostgreSqlObjectName^ tableName, 
	String^ updateExpression, 
	UpdateOptions^ options
)

Parameters

tableName
Type: Tortuga.Chain.PostgreSql..::..PostgreSqlObjectName
Name of the table.
updateExpression
Type: String
The update expression.
options
Type: Tortuga.Chain..::..UpdateOptions
The update options.

Remarks


Use .WithFilter to apply a WHERE clause.