Create a table including an identity field named "Id" of type int32.

Namespace:  Mindscape.NHibernateModelDesigner.Migrations
Assembly:  Mindscape.NHibernateModelDesigner.Migrations (in Mindscape.NHibernateModelDesigner.Migrations.dll)
Version: 3.1.0.0 (3.1.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.NHibernateModelDesigner.Migrations..::.Field
The identity field to create.
fields
Type: array< Mindscape.NHibernateModelDesigner.Migrations..::.Field >[]()[]
The files to add to the table.

See Also