IConventionPropertyBaseBuilder.UsePropertyAccessMode(Nullable<PropertyAccessMode>, Boolean) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
PropertyAccessModeBu özellik benzeri nesne için kullanılacak öğesini ayarlar.
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBaseBuilder UsePropertyAccessMode (Microsoft.EntityFrameworkCore.PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = false);
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBaseBuilder? UsePropertyAccessMode (Microsoft.EntityFrameworkCore.PropertyAccessMode? propertyAccessMode, bool fromDataAnnotation = false);
abstract member UsePropertyAccessMode : Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBaseBuilder
Public Function UsePropertyAccessMode (propertyAccessMode As Nullable(Of PropertyAccessMode), Optional fromDataAnnotation As Boolean = false) As IConventionPropertyBaseBuilder
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
Yapılandırma uygulanmışsa aynı Oluşturucu örneği, null tersi durumda.