Tell the system that this data property is a reference (foreign key) to another IData.
Namespace: Composite.DataAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
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