Add a table for the HiLo identity generator.
Namespace:
Mindscape.NHibernateModelDesigner.MigrationsAssembly: Mindscape.NHibernateModelDesigner.Migrations (in Mindscape.NHibernateModelDesigner.Migrations.dll)
Version: 3.1.0.0 (3.1.0.0)
Syntax
C# |
---|
protected void AddKeyTable( string name, string owner, ModelDataType type, Object initialValue ) |
Visual Basic (Declaration) |
---|
Protected Sub AddKeyTable ( _ name As String, _ owner As String, _ type As ModelDataType, _ initialValue As Object _ ) |
Parameters
- name
- Type: System..::.String
The name of the table. Typically "KeyTable".
- owner
- Type: System..::.String
The onwer of the table
- type
- Type: Mindscape.NHibernateModelDesigner.Migrations..::.ModelDataType
The type of the identity. Typically Int32 or Int64.
- initialValue
- Type: System..::.Object
An initial value to be entered in the key table.