Share via


ODataUrlConventions Class

Component for controlling what convention are used for generating URLs.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.Query.ODataUrlConventions

Namespace:  Microsoft.Data.OData.Query
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public NotInheritable Class ODataUrlConventions
'Usage
Dim instance As ODataUrlConventions
public sealed class ODataUrlConventions
public ref class ODataUrlConventions sealed
[<SealedAttribute>]
type ODataUrlConventions =  class end
public final class ODataUrlConventions

The ODataUrlConventions type exposes the following members.

Properties

  Name Description
Public propertyStatic member Default An instance of ODataUrlConventions which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')".
Public propertyStatic member KeyAsSegment An instance of ODataUrlConventions which uses key-as-segment URL conventions. Specifically, this instance will produce keys that use segments like "Customers/ALFKI".

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.OData.Query Namespace