The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceContext.TypeScheme Property

Note: This API is now obsolete.

Gets or sets the URI used to indicate what type scheme is used by the service.

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

[ObsoleteAttribute("You cannot change the default type scheme for an OData service that supports version 3 of the OData protocol, or a later version.", 
public Uri TypeScheme { get; set; }

Property Value

Type: System.Uri
A Uri object that contains the type scheme.

In an ATOM payload, the return value will be the scheme attribute of a category element used to identify the type of an entity. The default value is

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft