Skip to content

SqlUpdate.Dec method (1 of 2)

Decreases a fields value.

public SqlUpdate Dec(IField field, int value)
parameter description
field Field (required).
value Decrease amount (can be negative).

Return Value

SqlUpdate object itself.

See Also


SqlUpdate.Dec method (2 of 2)

Decreases a fields value.

public SqlUpdate Dec(string field, int value)
parameter description
field Field name (required).
value Decrease amount (can be negative).

Return Value

SqlUpdate object itself.

See Also