Factory methods for IdentifierGenerator framework.
Namespace: NHibernate.IdAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public sealed class IdentifierGeneratorFactory |
Visual Basic |
---|
Public NotInheritable Class IdentifierGeneratorFactory |
Visual C++ |
---|
public ref class IdentifierGeneratorFactory sealed |
Remarks
The built in strategies for identifier generation in NHibernate are:
strategy | Implementation of strategy |
---|---|
assigned | Assigned |
counter | CounterGenerator |
foreign | ForeignGenerator |
guid | GuidGenerator |
guid.comb | GuidCombGenerator |
guid.native | NativeGuidGenerator |
hilo | TableHiLoGenerator |
identity | IdentityGenerator |
native | Chooses between IdentityGenerator, SequenceGenerator , and TableHiLoGenerator based on the Dialect's capabilities. |
seqhilo | SequenceHiLoGenerator |
sequence | SequenceGenerator |
uuid.hex | UUIDHexGenerator |
uuid.string | UUIDStringGenerator |