PropertyBaseExtensions.GetPropertyAccessMode(IPropertyBase) Yöntem

Tanım

PropertyAccessModeBu özellik için kullanılan öğesini alır. null değeri , varsayılan özellik erişim modunun kullanıldığını gösterir.

public static Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Nullable<Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode>
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode>
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.PropertyAccessMode
<Extension()>
Public Function GetPropertyAccessMode (propertyBase As IPropertyBase) As Nullable(Of PropertyAccessMode)
<Extension()>
Public Function GetPropertyAccessMode (propertyBase As IPropertyBase) As PropertyAccessMode

Parametreler

propertyBase
IPropertyBase

Erişim modunun alınacağı özellik.

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