Click or drag to resize

SQLUpdaterAddExpression Method

Adds a literal expression to the UPDATE statement. The expression will be applied literally. For example, to increment the "quantity" column of a record, specify "quantity" for the name parameter and "quantity + 1" for the expr parameter. This will result in "quantity=quantity + 1" being included in the UPDATE statement.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public void AddExpression(
	string name,
	string expr,
	SQLColumnFlags flags = 
)

Parameters

name
Type: SystemString
The name of the column to update.
expr
Type: SystemString
The literal expression used to set the column's value.
flags (Optional)
Type: NetQuarrySQLColumnFlags
Flags specifying additional information about the column or how it is to be added. Note that flags are provided for future use and at this time none of the flags are applicable to expressions.
See Also