Serenity.Data.SqlUpdate.Dec C# (CSharp) Method

Dec() public method

Decreases a fields value.
public Dec ( IField field, int value ) : SqlUpdate
field IField /// Field (required).
value int /// Decrease amount (can be negative).
return SqlUpdate
        public SqlUpdate Dec(IField field, int value)
        {
            return Inc(field, -value);
        }

Same methods

SqlUpdate::Dec ( string field, int value ) : SqlUpdate