The attribute will tell the system that a data property is a reference (foreign key) to another IData.
Namespace: Composite.DataAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
Examples
This sample shows how to use the ForeignKey attribute.
CopyC#

// data interface attributes ... interface IMyDataType : IData { [StoreFieldType(PhysicalStoreFieldType.Guid)] [ImmutableFieldId("{D75EA67F-AD14-4BAB-8547-6D87002809F2}")] [ForeignKey(typeof(IPage), "Id", AllowCascadeDeletes = true)] Guid PageId { get; set; } // more data properties ... }