The general contract between a class that generates unique identifiers and the ISession.

Namespace: NHibernate.Id
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public interface IIdentifierGenerator
Visual Basic
Public Interface IIdentifierGenerator
Visual C++
public interface class IIdentifierGenerator

Remarks

It is not intended that this interface ever be exposed to the application. It is intended that users implement this interface to provide custom identifier generation strategies.

Implementors should provide a public default constructor.

Implementations that accept configuration parameters should also implement IConfigurable.

Implementors must be threadsafe.

See Also