Initializes a new instance of the ForeignKeyField 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 ForeignKeyField( string name, ModelDataType dataType, bool allowNulls, string targetTableName, string targetTableOwner, string targetColumn ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ name As String, _ dataType As ModelDataType, _ allowNulls As Boolean, _ targetTableName As String, _ targetTableOwner As String, _ targetColumn As String _ ) |
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.
- targetTableName
- Type: System..::.String
The name of the table referenced by the foreign key.
- targetTableOwner
- Type: System..::.String
The owner or schema of the table referenced by the foreign key.
- targetColumn
- Type: System..::.String
The column in the target table referenced by the foreign key.