ICounterApi Interface |
Namespace: Casewhere.Runtime.DSL.Api
public interface ICounterApi
The ICounterApi type exposes the following members.
Name | Description | |
---|---|---|
Next |
Generate an auto-incremented integer for a given sequence.
| |
Set |
Set the counter value.
|
var counterApi = ctx.Use<ICounterApi>(); var orderNo = counterApi.Next("OrderNo");