Determines the strategy used to generate new identity values.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
| C# |
|---|
public enum IdentityMethod |
| Visual Basic (Declaration) |
|---|
Public Enumeration IdentityMethod |
Members
| Member name | Description | |
|---|---|---|
| Default |
Use the default IdentityMethod | |
| KeyTable |
Uses the Key Table (hilo) pattern to efficiently produce database unique integer keys.
| |
| Guid |
Uses NewGuid()()() | |
| Sequence |
Uses a database Sequence object like that supported on Oracle and PostgreSQL.
| |
| IdentityColumn |
Uses an auto incrementing database identity column.
| |
| GuidComb |
An IIdentityGenerator that generates Guid values
using a strategy suggested Jimmy Nilsson's
article
on informit.com.
| |
| MultiSequence |
Uses database Sequence objects like those supported on Oracle and PostgreSQL,
and allows multiple sequences. Use NamingStrategy
to specify the sequence names.
|