IdGenerator

Ecng.Common

Base identifier generator.

Constructors

IdGenerator
protected IdGenerator()
idGenerator = IdGenerator()

Initializes a new instance of the IdGenerator class.

Methods

GetNextId
public abstract long GetNextId()
result = idGenerator.GetNextId()

Gets the next identifier.

Returns: The next identifier.