Initializes a new instance of the Field class.

Namespace:  Mindscape.NHibernateModelDesigner.Migrations
Assembly:  Mindscape.NHibernateModelDesigner.Migrations (in Mindscape.NHibernateModelDesigner.Migrations.dll)
Version: 3.1.0.0 (3.1.0.0)

Syntax

C#
public Field(
	string name,
	ModelDataType dataType,
	bool allowNulls
)
Visual Basic (Declaration)
Public Sub New ( _
	name As String, _
	dataType As ModelDataType, _
	allowNulls As Boolean _
)

Parameters

name
Type: System..::.String
The field (column) name.
dataType
Type: Mindscape.NHibernateModelDesigner.Migrations..::.ModelDataType
The field data type.
allowNulls
Type: System..::.Boolean
true if the field allows nulls, otherwise false.

See Also