DataServiceCodeVersion Enumeration

DataServiceCodeVersion Enumeration

 

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:
© 2016 Microsoft