[]
        
(Showing Draft Content)

C1.Web.Mvc.BaseODataCollectionViewService-1.ODataVersion

ODataVersion Property

ODataVersion

Gets or sets the OData version used by the server.

Declaration
public double? ODataVersion { get; set; }
Remarks

There are currently four versions of OData services, 1.0 through 4.0. Version 4.0 is used by the latest services, but there are many legacy services still in operation. If you know what version of OData your service implements, set the ODataVersion property to the appropriate value (1 through 4) when creating it.