MutableEntityTypeExtensions.SetNavigationAccessMode(IMutableEntityType, Nullable<PropertyAccessMode>) Yöntem

Tanım

PropertyAccessModeBu varlık türünün gezginlerini kullanmak için öğesini ayarlar.

Bireysel gezinmelerin bu erişim modunu geçersiz kılabileceğini unutmayın. Burada ayarlanan değer, geçersiz kılma belirtilmemiş herhangi bir gezinti için kullanılacaktır.

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

Parametreler

entityType
IMutableEntityType

Erişim modunun ayarlanacağı varlık türü.

propertyAccessMode
Nullable<PropertyAccessMode>

PropertyAccessModeMod kümesini temizlemek için veya null.

Şunlara uygulanır