ODataModelBuilder.DataServiceVersion Property
Gets or sets the data service version of the model. The default value is 4.0.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public Version DataServiceVersion { get; set; }
public:
property Version^ DataServiceVersion {
Version^ get();
void set(Version^ value);
}
member DataServiceVersion : Version with get, set
Public Property DataServiceVersion As Version
Property Value
Type: System.Version
See Also
ODataModelBuilder Class
System.Web.OData.Builder Namespace
Return to top