Share via


IndexAttribute.Order Property

Definition

A number which will be used to determine column ordering for multi-column indexes. This will be -1 if no column order has been specified.

public virtual int Order { get; set; }
member this.Order : int with get, set
Public Overridable Property Order As Integer

Property Value

Remarks

Multi-column indexes are created by using the same index name in multiple attributes. The information in these attributes is then merged together to specify the actual database index.

Applies to