Aracılığıyla paylaş


TypeBaseExtensions.GetPropertyAccessMode(ITypeBase) Yöntem

Tanım

Bu türdeki PropertyAccessMode özellikler ve gezintiler için kullanılan değeri alır.

Tek tek özelliklerin ve 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 özellik veya gezinti için kullanılır.

public static Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Nullable<Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode>
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode>
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.PropertyAccessMode
<Extension()>
Public Function GetPropertyAccessMode (typeBase As ITypeBase) As Nullable(Of PropertyAccessMode)
<Extension()>
Public Function GetPropertyAccessMode (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