DataServiceUrlConventions Class

Component for controlling what convention set is used for generating URLs.

Inheritance Hierarchy

System.Object
  System.Data.Services.Common.DataServiceUrlConventions

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

Syntax

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

The DataServiceUrlConventions type exposes the following members.

Properties

  Name Description
Public propertyStatic member Default An instance of DataServiceUrlConventions which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')".
Public propertyStatic member KeyAsSegment An instance of DataServiceUrlConventions 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

System.Data.Services.Common Namespace