ODataVersion (property)
The OData Version.
Syntax
@property (nonatomic,readwrite,assign,getter=ODataVersion,setter=setODataVersion:) int ODataVersion; - (int)ODataVersion; - (void)setODataVersion:(int)newODataVersion;
/* Possible Values */
OD_V2(0),
OD_V3(1),
OD_V4(2),
OD_AUTO(3)
public var ODataVersion: OdataODataVersions { get {...}
set {...} }
public enum OdataODataVersions : Int32 { case odV2 = 0 case odV3 = 1 case odV4 = 2 case odAuto = 3 }
Default Value
3
Remarks
This property specifies the OData version to be used in the request and expected in the response. Possible values are:
- 0 (odV2)
- 1 (odv3)
- 3 (odV4)
- 4 (odAuto - default)
Once the version of the service has been automatically determined it will continue to be used until Reset is called.