Determines the strategy used to generate new unique identifiers.
- KeyTable efficiently produces database unique integer keys and is great for
web applications.
- Guids are globally unique and fast to generate but not as user-friendly
as integers.
- Sequence uses a database specific sequence object to generate database unique
integers. Available on Oracle and Postgres only.
- IdentityColumn uses an auto-incrementing identity column.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public IdentityMethod IdentityMethod { get; set; } |
Visual Basic (Declaration) |
---|
Public Property IdentityMethod As IdentityMethod |