ForeignKeyConstraint<(Of <(<'TObjectName, TDbType>)>)> Constructor
Initializes a new instance of the ForeignKeyConstraint<(Of <(<'TObjectName, TDbType>)>)> class.
Namespace:
Tortuga.Chain.MetadataAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public ForeignKeyConstraint( Nullable<string> name, TObjectName constrainedTableName, ColumnMetadataCollection<TDbType> constrainedColumns, TObjectName referencedTableName, ColumnMetadataCollection<TDbType> referencedColumns )
Public Sub New ( _ name As Nullable(Of String), _ constrainedTableName As TObjectName, _ constrainedColumns As ColumnMetadataCollection(Of TDbType), _ referencedTableName As TObjectName, _ referencedColumns As ColumnMetadataCollection(Of TDbType) _ )
public: ForeignKeyConstraint( Nullable<String^> name, TObjectName constrainedTableName, ColumnMetadataCollection<TDbType>^ constrainedColumns, TObjectName referencedTableName, ColumnMetadataCollection<TDbType>^ referencedColumns )
Parameters
- constrainedTableName
- Type: TObjectName
Name of the constrained table.
- constrainedColumns
- Type: Tortuga.Chain.Metadata..::..ColumnMetadataCollection<(Of <(<'TDbType>)>)>
The constrained columns.
- referencedTableName
- Type: TObjectName
Name of the referenced table.
- referencedColumns
- Type: Tortuga.Chain.Metadata..::..ColumnMetadataCollection<(Of <(<'TDbType>)>)>
The referenced columns.

