ModelExtensions.GetPropertyAccessMode(IModel) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bu modeldeki PropertyAccessMode varlık türlerinin özellikleri için kullanılan öğesini alır.
Tek tek varlık türlerinin bu erişim modunu geçersiz kılabileceğini ve varlık türlerinin tek tek özelliklerinin varlık türünde ayarlanan erişim modunu geçersiz kılabileceğini unutmayın. Burada döndürülen değer, geçersiz kılma belirtilmemiş herhangi bir özellik için kullanılır.
public static Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
public static Microsoft.EntityFrameworkCore.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.PropertyAccessMode? GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.EntityFrameworkCore.PropertyAccessMode GetPropertyAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IModel -> Nullable<Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode>
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IModel -> Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode>
[<System.Diagnostics.DebuggerStepThrough>]
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IModel -> Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode>
[<System.Diagnostics.DebuggerStepThrough>]
static member GetPropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.PropertyAccessMode
<Extension()>
Public Function GetPropertyAccessMode (model As IModel) As Nullable(Of PropertyAccessMode)
<Extension()>
Public Function GetPropertyAccessMode (model As IModel) As PropertyAccessMode
Parametreler
- model
- IModel
Erişim modunu almak için model.
Döndürülenler
Kullanılan erişim modu veya varsayılan erişim modu kullanılıyorsa null.
- Öznitelikler
Şunlara uygulanır
Entity Framework
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin