ComponentOne ASP.NET MVC Controls
ODataVersion Property

C1.Web.Mvc Namespace > BaseODataCollectionViewService<T> Class : ODataVersion Property
Gets or sets the OData version used by the server.
Syntax
'Declaration
 
Public Property ODataVersion As Nullable(Of Double)
public Nullable<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.
See Also

Reference

BaseODataCollectionViewService<T> Class
BaseODataCollectionViewService<T> Members