DataServiceCodeVersion Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the version of the Open Data Protocol (OData) targeted by the generated code. 

Namespace:   System.Data.Services.Design
Assembly:  System.Data.Services.Design (in System.Data.Services.Design.dll)

public enum DataServiceCodeVersion

Member nameDescription
V1

Generate code that targets version 1.0.

V2

Generate code that targets version 2.0.

.NET Framework
Available since 3.5
Return to top
Show: