Udostępnij za pośrednictwem


OrderByAttribute Klasa

Definicja

Reprezentuje element Attribute , który można umieścić w klasie lub właściwości skorelowanych z ustawieniami opcji zapytania $orderby OData.

[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
Dziedziczenie
OrderByAttribute
Atrybuty

Konstruktory

OrderByAttribute()

Inicjuje nowe wystąpienie klasy OrderByAttribute.

OrderByAttribute(String[])

Inicjuje OrderByAttribute nowe wystąpienie klasy o nazwie dozwolonych właściwości $orderby.

Właściwości

Disabled

Określa, czy $orderby można zastosować do tych właściwości.

OrderByConfigurations

Pobiera lub ustawia konfigurację $orderby właściwości.

Dotyczy