DataServiceCodeVersion 枚举

定义

指定生成的代码所面向的 Open Data Protocol (OData) 版本。Specifies the version of the Open Data Protocol (OData) targeted by the generated code.

public enum class DataServiceCodeVersion
public enum DataServiceCodeVersion
type DataServiceCodeVersion = 
Public Enum DataServiceCodeVersion
继承
DataServiceCodeVersion

字段

V1 0

针对 1.0 版生成代码。Generate code that targets version 1.0.

V2 1

针对 2.0 版生成代码。Generate code that targets version 2.0.

适用于