Initializes a new instance of the Field class.
Namespace:
Mindscape.LightSpeed.MigrationsAssembly: Mindscape.LightSpeed.Migrations (in Mindscape.LightSpeed.Migrations.dll)
Version: 3.1.0.0 (4.0.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.LightSpeed.Migrations..::.ModelDataType
The field data type.
- allowNulls
- Type: System..::.Boolean
true if the field allows nulls, otherwise false.