IConventionPropertyBuilder.CanSetPropertyAccessMode(Nullable<PropertyAccessMode>, Boolean) Yöntem

Tanım

Geçerli yapılandırma kaynağından bu PropertyAccessMode özellik için ayarlanıp ayarlanamayrı belirten bir değer döndürür.

public bool CanSetPropertyAccessMode (Microsoft.EntityFrameworkCore.PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = false);
abstract member CanSetPropertyAccessMode : Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode> * bool -> bool
Public Function CanSetPropertyAccessMode (propertyAccessMode As Nullable(Of PropertyAccessMode), Optional fromDataAnnotation As Boolean = false) As Boolean

Parametreler

propertyAccessMode
Nullable<PropertyAccessMode>

Bu PropertyAccessMode özellik için kullanmak üzere .

fromDataAnnotation
Boolean

Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.

Döndürülenler

Boolean

bu özellik PropertyAccessMode için ayarlansa true olur.

Şunlara uygulanır