Aracılığıyla paylaş


IConventionSkipNavigationBuilder.UsePropertyAccessMode Yöntem

Tanım

Bu gezinti için kullanılacak öğesini PropertyAccessMode 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>

PropertyAccessMode Bu gezinti için kullanılacak.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmedidiğini gösterir.

Döndürülenler

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

Şunlara uygulanır