Defines the values for the generator for the Collection Id values.w

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
[SerializableAttribute]
public enum CollectionIDType

Members

Member nameDescription
Identity
Use Identity column (auto number)
Sequence
Use a sequence
HiLo
Use the HiLo algorithm to get the next value
SeqHiLo
Use a sequence and a HiLo algorithm - better performance on Oracle
UuidHex
Use the hex representation of a unique identifier
UuidString
Use the string representation of a unique identifier
Guid
Generate a Guid for the primary key Note: You should prefer using GuidComb over this value.
GuidComb
Generate a Guid in sequence, so it will have better insert performance in the DB.
Assigned
The key value is always assigned.
Foreign
This is a foreign key to another table

See Also