Click or drag to resize

ICounterApi Interface

Provides methods for generating numbers.

Namespace:  Casewhere.Runtime.DSL.Api
Assembly:  Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.1.0
Syntax
C#
public interface ICounterApi

The ICounterApi type exposes the following members.

Methods
  NameDescription
Public methodCode exampleNext
Generate an auto-incremented integer for a given sequence.
Public methodCode exampleSet
Set the counter value.
Top
Examples
var counterApi = ctx.Use<ICounterApi>();
var orderNo = counterApi.Next("OrderNo");
See Also