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

Tanım

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

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

public static void SetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IMutableTypeBase entityType, Microsoft.EntityFrameworkCore.PropertyAccessMode? propertyAccessMode);
static member SetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IMutableTypeBase * Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode> -> unit
<Extension()>
Public Sub SetPropertyAccessMode (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