Factory methods for IdentifierGenerator framework.

Namespace: NHibernate.Id
Assembly: 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:

strategyImplementation of strategy
assignedAssigned
counterCounterGenerator
foreignForeignGenerator
guidGuidGenerator
guid.combGuidCombGenerator
guid.nativeNativeGuidGenerator
hiloTableHiLoGenerator
identityIdentityGenerator
native Chooses between IdentityGenerator, SequenceGenerator , and TableHiLoGenerator based on the Dialect's capabilities.
seqhiloSequenceHiLoGenerator
sequenceSequenceGenerator
uuid.hexUUIDHexGenerator
uuid.stringUUIDStringGenerator

Inheritance Hierarchy

System..::..Object
  NHibernate.Id..::..IdentifierGeneratorFactory

See Also