IndexAttribute.Order Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework