TypeBaseExtensions.GetNavigationAccessMode(ITypeBase) メソッド

定義

この型の PropertyAccessMode ナビゲーションに使用されている を取得します。

個々のナビゲーションがこのアクセス モードをオーバーライドできることに注意してください。 ここで返される値は、オーバーライドが指定されていないナビゲーションに使用されます。

public static Microsoft.EntityFrameworkCore.PropertyAccessMode? GetNavigationAccessMode (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode GetNavigationAccessMode (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
static member GetNavigationAccessMode : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode>
static member GetNavigationAccessMode : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.PropertyAccessMode
<Extension()>
Public Function GetNavigationAccessMode (typeBase As ITypeBase) As Nullable(Of PropertyAccessMode)
<Extension()>
Public Function GetNavigationAccessMode (typeBase As ITypeBase) As PropertyAccessMode

パラメーター

typeBase
ITypeBase

アクセス モードを取得する型。

戻り値

使用されているアクセス モード。既定のアクセス モードが使用されている場合は null。

適用対象