OrderByAttribute Class
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.
Represents an Attribute that can be placed on a class or property correlate to OData's $orderby query option settings.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)]
public sealed class OrderByAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)>]
type OrderByAttribute = class
inherit Attribute
Public NotInheritable Class OrderByAttribute
Inherits Attribute
- Inheritance
-
OrderByAttribute
- Attributes
Constructors
OrderByAttribute() |
Initializes a new instance of the OrderByAttribute class. |
OrderByAttribute(String[]) |
Initializes a new instance of the OrderByAttribute class with the name of allowed $orderby properties. |
Properties
Disabled |
Represents whether the $orderby can be applied on those properties. |
OrderByConfigurations |
Gets or sets the $orderby configuration of properties. |