Tell the system that this data property is a reference (foreign key) to another IData.

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public ForeignKeyAttribute(
	Type interfaceType,
	string keyPropertyName
)
Visual Basic
Public Sub New ( _
	interfaceType As Type, _
	keyPropertyName As String _
)
Visual C++
public:
ForeignKeyAttribute(
	Type^ interfaceType, 
	String^ keyPropertyName
)

Parameters

interfaceType
Type: System..::..Type
The type being referenced
keyPropertyName
Type: System..::..String
The field being referenced

See Also