An IIdentifierGenerator that returns a string of length
16.
Namespace: NHibernate.IdAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public class UUIDStringGenerator : IIdentifierGenerator |
Visual Basic |
---|
Public Class UUIDStringGenerator _ Implements IIdentifierGenerator |
Visual C++ |
---|
public ref class UUIDStringGenerator : IIdentifierGenerator |
Remarks
This id generation strategy is specified in the mapping file as
CopyC#<generator class="uuid.string" />
The identifier string will NOT consist of only alphanumeric characters. Use this only if you don't mind unreadable identifiers.
This impelementation was known to be incompatible with Postgres.