SqlUpdate.Inc method (1 of 2)
namespace: Serenity.Data assembly: Serenity.Net.Data
Increases a fields value.
public SqlUpdate Inc(IField field, int value)
parameter | description |
---|---|
field | Field (required). |
value | Increase amount (can be negative). |
Return Value
SqlUpdate object itself.
See Also
SqlUpdate.Inc method (2 of 2)
namespace: Serenity.Data assembly: Serenity.Net.Data
Increases a fields value.
public SqlUpdate Inc(string field, int value)
parameter | description |
---|---|
field | Field name (required). |
value | Increase amount (can be negative). |
Return Value
SqlUpdate object itself.
See Also
- class SqlUpdate