Creates new instance of the ForeignKey class.

Namespace:  PerpetuumSoft.DataModel.MsSql
Assembly:  PerpetuumSoft.DataModel (in PerpetuumSoft.DataModel.dll) Version: 1.0.0.0

Syntax

C#
public ForeignKey(
	string name,
	Table table,
	Table foreignTable
)
Visual Basic (Declaration)
Public Sub New ( _
	name As String, _
	table As Table, _
	foreignTable As Table _
)
Visual C++
public:
ForeignKey(
	String^ name, 
	Table^ table, 
	Table^ foreignTable
)

Parameters

name
Type: System..::.String
table
Type: PerpetuumSoft.DataModel.MsSql..::.Table
foreignTable
Type: PerpetuumSoft.DataModel.MsSql..::.Table

See Also