Create a table including an identity field named "Id" of type int32.
Namespace:
Mindscape.LightSpeed.MigrationsAssembly: Mindscape.LightSpeed.Migrations (in Mindscape.LightSpeed.Migrations.dll)
Version: 3.1.0.0 (4.0.0.0)
Syntax
C# |
---|
protected void AddTable( string name, Field identity, params Field[] fields ) |
Visual Basic (Declaration) |
---|
Protected Sub AddTable ( _ name As String, _ identity As Field, _ ParamArray fields As Field() _ ) |
Parameters
- name
- Type: System..::.String
The name of the table to create.
- identity
- Type: Mindscape.LightSpeed.Migrations..::.Field
The identity field to create.
- fields
- Type: array<
Mindscape.LightSpeed.Migrations..::.Field
>[]()[]
The files to add to the table.