Aracılığıyla paylaş


TypeBaseExtensions.GetNavigationAccessMode(ITypeBase) Yöntem

Tanım

Bu tür gezintiler PropertyAccessMode için kullanılan öğesini alır.

Tek tek gezintilerin bu erişim modunu geçersiz kılabileceğini unutmayın. 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 alındığı tür.

Döndürülenler

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

Şunlara uygulanır