Skip to content

SqlUpdate.SetTo method (1 of 2)

Sets field value to the expression.

public SqlUpdate SetTo(IField field, string expression)
parameter description
field Field name (required).
expression Field expression (required).

Return Value

SqlUpdate object itself.

See Also


SqlUpdate.SetTo method (2 of 2)

Sets field value to the expression.

public SqlUpdate SetTo(string field, string expression)
parameter description
field Field name (required).
expression Field expression, required.

Return Value

SqlUpdate object itself.

Exceptions

exception condition
ArgumentNullException field or expression is null or empty.

See Also