TypeBaseExtensions.GetNavigationAccessMode(ITypeBase) Yöntem

Tanım

Bu PropertyAccessMode tür gezintiler için kullanılan'ı alır.

Tek tek gezintilerin bu erişim modunu geçersiz kılabilirsiniz. Burada döndürülen değer, geçersiz kılma belirtilmemiş herhangi bir gezinti için kullanılır.

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

Parametreler

typeBase
ITypeBase

Erişim modunun hangi türe sahip olduğunu gösterir.

Döndürülenler

Nullable<PropertyAccessMode>
PropertyAccessMode

Kullanılan erişim modu veya varsayılan erişim modu kullanılıyorsa null.

Şunlara uygulanır