DataServiceBehavior.UseMetadataKeyOrderForBuiltInProviders 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
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Property UseMetadataKeyOrderForBuiltInProviders As Boolean 
    Get 
    Set
'Usage
Dim instance As DataServiceBehavior 
Dim value As Boolean 

value = instance.UseMetadataKeyOrderForBuiltInProviders

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

Property Value

Type: System.Boolean
True when the order of key properties is inferred from the provider metadata and false when an alphabetical order is used.

Remarks

The default value is false.

See Also

Reference

DataServiceBehavior Class

System.Data.Services Namespace