MutableTypeBaseExtensions.SetNavigationAccessMode(IMutableTypeBase, Nullable<PropertyAccessMode>) Yöntem

Tanım

Bu varlık PropertyAccessMode türünün gezintileri için kullanmak üzere ayarlar.

Tek tek gezintilerin bu erişim modunu geçersiz kılabilirsiniz. Burada ayarlanmış değer, geçersiz kılma belirtilmemiş herhangi bir gezinti için kullanılır.

public static void SetNavigationAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IMutableTypeBase entityType, Microsoft.EntityFrameworkCore.PropertyAccessMode? propertyAccessMode);
static member SetNavigationAccessMode : Microsoft.EntityFrameworkCore.Metadata.IMutableTypeBase * Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode> -> unit
<Extension()>
Public Sub SetNavigationAccessMode (entityType As IMutableTypeBase, propertyAccessMode As Nullable(Of PropertyAccessMode))

Parametreler

entityType
IMutableTypeBase

Erişim modunun ayarlandırı türü.

propertyAccessMode
Nullable<PropertyAccessMode>

Mod PropertyAccessMode null ayarlamayı temizlemek için veya .

Şunlara uygulanır