TypeBaseExtensions.GetPropertyAccessMode(ITypeBase) Yöntem

Tanım

Bu PropertyAccessMode türün özellikleri ve gezintileri için kullanılan 'ı alır.

Tek tek özelliklerin ve gezintilerin bu erişim modunu geçersiz kabilirsiniz. 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 hangi türe sahip olduğunu gösterir.

Döndürülenler

Nullable<PropertyAccessMode>
Nullable<PropertyAccessMode>
PropertyAccessMode

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

Şunlara uygulanır