Create a table with the supplied identity field.
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, string owner, Field identity, params Field[] fields ) |
Visual Basic (Declaration) |
---|
Protected Sub AddTable ( _ name As String, _ owner As String, _ identity As Field, _ ParamArray fields As Field() _ ) |
Parameters
- name
- Type: System..::.String
The name of the table to create.
- owner
- Type: System..::.String
The owner/schema name that the table belongs to. If empty the database default is used.
- identity
- Type: Mindscape.LightSpeed.Migrations..::.Field
The identity field to create with the table.
- fields
- Type: array<
Mindscape.LightSpeed.Migrations..::.Field
>[]()[]
The files to add to the table.