Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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
V1Generate code that targets version 1.0.
V2Generate code that targets version 2.0.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft