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

Inc() public method

Increases a fields value.
public Inc ( IField field, int value ) : SqlUpdate
field IField /// Field (required).
value int /// Increase amount (can be negative).
return SqlUpdate
        public SqlUpdate Inc(IField field, int value)
        {
            if (field == null)
                throw new ArgumentNullException("field");

            return Inc(field.Name, value);
        }

Same methods

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