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

Tanım

PropertyAccessModeGeçerli yapılandırma kaynağından bu özellik benzeri nesne için ayarlanamayacağını gösteren 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>

PropertyAccessModeBu özellik benzeri nesne için kullanılacak.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak mı belirtilmediğini belirtir.

Döndürülenler

Boolean

truePropertyAccessModeBu özellik benzeri nesne için ayarlanabilir.

Şunlara uygulanır