Add this attribute to define an additional index to a tables representing the data type.
Namespace: Composite.DataAssembly: Composite (in Composite.dll) Version: 5.3.6135.33083
Syntax
Examples
This sample shows how to use the KeyPropertyName attribute:
CopyC#

[KeyPropertyName("Id")] [Index("FolderName", IndexDirection.Ascending, "FileName", IndexDirection.Descending)] interface IMyDataType : IData { Guid Id { get; set; } string FolderName { get; set; } string FileName { get; set; } // other data type properties }