ASP.NET Core MVC コントロールヘルプ
ODataVersion メソッド

C1.AspNetCore.Mvc アセンブリ > C1.Web.Mvc.Fluent 名前空間 > BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> クラス : ODataVersion メソッド
The value.
Configurates ODataVersion. Sets the OData version used by the server.
シンタックス
'宣言
 
Public Function ODataVersion( _
   ByVal value As System.Nullable(Of Double) _
) As TBuilder
public TBuilder ODataVersion( 
   System.Nullable<double> value
)

パラメータ

value
The value.

戻り値の型

Current builder.
解説
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.
参照

BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> クラス
BaseODataCollectionViewServiceBuilder<T,TControl,TBuilder> メンバ