Share via


ResourceSet.UseMetadataKeyOrder Property

Get or sets whether to use the order of key properties as defined in the metadata of an Entity Framework or reflection provider when constructing an implicit OrderBy query.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Property UseMetadataKeyOrder As Boolean 
    Get 
    Set
'Usage
Dim instance As ResourceSet 
Dim value As Boolean 

value = instance.UseMetadataKeyOrder

instance.UseMetadataKeyOrder = value
public bool UseMetadataKeyOrder { get; set; }
public:
property bool UseMetadataKeyOrder {
    bool get ();
    void set (bool value);
}
member UseMetadataKeyOrder : bool with get, set
function get UseMetadataKeyOrder () : boolean 
function set UseMetadataKeyOrder (value : boolean)

Property Value

Type: System.Boolean
true when the order of key properties is inferred from the provider metadata; Otherwise, false.

See Also

Reference

ResourceSet Class

System.Data.Services.Providers Namespace