Initializes a new instance of the Field class.
Namespace:
Mindscape.NHibernateModelDesigner.MigrationsAssembly: Mindscape.NHibernateModelDesigner.Migrations (in Mindscape.NHibernateModelDesigner.Migrations.dll)
Version: 3.1.0.0 (3.1.0.0)
Syntax
C# |
---|
public Field( string name, string dbDataType, bool allowNulls ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ name As String, _ dbDataType As String, _ allowNulls As Boolean _ ) |
Parameters
- name
- Type: System..::.String
The field (column) name.
- dbDataType
- Type: System..::.String
The data type expressed as a native database type name.
- allowNulls
- Type: System..::.Boolean
true if the field allows nulls, otherwise false.