Share via


DataServiceCodeVersion Enumeration

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

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

Syntax

'Declaration
Public Enumeration DataServiceCodeVersion
'Usage
Dim instance As DataServiceCodeVersion
public enum DataServiceCodeVersion
public enum class DataServiceCodeVersion
type DataServiceCodeVersion
public enum DataServiceCodeVersion

Members

Member name Description
V1 Generate code that targets version 1.0.
V2 Generate code that targets version 2.0.
V3 Generate code that targets version 3.0.

See Also

Reference

System.Data.Services.Design Namespace