IdGenerator

Ecng.Common

Base identifier generator.

构造函数

IdGenerator
protected IdGenerator()
idGenerator = IdGenerator()

Initializes a new instance of the IdGenerator class.

方法

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

Gets the next identifier.

返回值: The next identifier.