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