Implements an INumerator based on a numerator table.
Default constructor
public Void IntegerNumerator()
Database connection interface.
public IDbAccess DataAccessAPI { get; set; }
A database transaction is required for this numerator.
public Boolean RequiresTransaction { get; }
The integer type to be returned.
public String ReturnType { get; set; }
Indicates whether the first value should be one.
public Boolean StartFromOne { get; set; }
Computes the next value for the given object.
public Object NextVal(model)
Name | Type | Summary |
---|---|---|
model | IDataModel |
Type | Summary |
---|---|
ArgumentNullException | Thrown when model is null. |
MissingRequiredPropertyException | Thrown when a required property was not properly initialized. |
TransactionRequiredException | Thrown when the current connection is not in a transaction. |
In this document