IConventionSkipNavigationBuilder.UsePropertyAccessMode(Nullable<PropertyAccessMode>, Boolean) Yöntem

Tanım

Bu gezinti PropertyAccessMode için kullanmak üzere ayarlar.

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

Parametreler

propertyAccessMode
Nullable<PropertyAccessMode>

Bu PropertyAccessMode gezinti için kullanılan .

fromDataAnnotation
Boolean

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

Döndürülenler

IConventionSkipNavigationBuilder

Yapılandırma uygulanmışsa aynı oluşturucu örneği, aksi null takdirde.

Şunlara uygulanır