Table of contents
HiloAttribute API Document
Used when a constraint requires a hilo algorithm
Example
public class Blog : ActiveRecordBase { ... [HasManyAndBelongs/HasMany, CollectionID(CollectionIDAttribute.HiLo), Hilo] private int Id { get { return _id; } set { _id = value; } }
Constructors
HiloAttribute()
Initializes a new instance of the Castle.ActiveRecord.HiloAttribute class.
HiloAttribute(String table, String column, Int32 maxlo)
Initializes a new instance of the Castle.ActiveRecord.HiloAttribute class.
| Parameter | Description |
|---|---|
| table | The table. |
| column | The column. |
| maxlo | The maxlo. |
Properties
| Name | Type | Description |
|---|---|---|
| Column | String | Gets or sets the column name |
| Table | String | Gets or sets the table name |
| MaxLo | Int32 | Gets or sets the max low value |