IUpdateAdapter.CreateEntry 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.
Aşırı Yüklemeler
| Veri Akışı Adı | Description |
|---|---|
| CreateEntry(IDictionary<String,Object>, IEntityType) |
Geçersiz.
Verilen varlık türü için verilen özellik değerleriyle yeni bir giriş oluşturur. |
| CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType) |
Verilen varlık türü için verilen özellik değerleriyle yeni bir giriş oluşturur. |
CreateEntry(IDictionary<String,Object>, IEntityType)
- Kaynak:
- IUpdateAdapter.cs
- Kaynak:
- IUpdateAdapter.cs
- Kaynak:
- IUpdateAdapter.cs
- Kaynak:
- IUpdateAdapter.cs
- Kaynak:
- IUpdateAdapter.cs
Dikkat
Use the overload that accepts a dictionary keyed by IProperty instead.
Verilen varlık türü için verilen özellik değerleriyle yeni bir giriş oluşturur.
public Microsoft.EntityFrameworkCore.Update.IUpdateEntry CreateEntry(System.Collections.Generic.IDictionary<string,object?> values, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[System.Obsolete("Use the overload that accepts a dictionary keyed by IProperty instead.")]
public Microsoft.EntityFrameworkCore.Update.IUpdateEntry CreateEntry(System.Collections.Generic.IDictionary<string,object?> values, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
public Microsoft.EntityFrameworkCore.Update.IUpdateEntry CreateEntry(System.Collections.Generic.IDictionary<string,object> values, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member CreateEntry : System.Collections.Generic.IDictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Update.IUpdateEntry
[<System.Obsolete("Use the overload that accepts a dictionary keyed by IProperty instead.")>]
abstract member CreateEntry : System.Collections.Generic.IDictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Update.IUpdateEntry
Public Function CreateEntry (values As IDictionary(Of String, Object), entityType As IEntityType) As IUpdateEntry
Parametreler
- values
- IDictionary<String,Object>
Değerlere özellik adlarının sözlüğü.
- entityType
- IEntityType
Varlık türü.
Döndürülenler
Oluşturulan girdi.
- Özellikler
Şunlara uygulanır
CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType)
- Kaynak:
- IUpdateAdapter.cs
Verilen varlık türü için verilen özellik değerleriyle yeni bir giriş oluşturur.
public Microsoft.EntityFrameworkCore.Update.IUpdateEntry CreateEntry(System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty,object?> values, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member CreateEntry : System.Collections.Generic.IReadOnlyDictionary<Microsoft.EntityFrameworkCore.Metadata.IProperty, obj> * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Update.IUpdateEntry
Public Function CreateEntry (values As IReadOnlyDictionary(Of IProperty, Object), entityType As IEntityType) As IUpdateEntry
Parametreler
- values
- IReadOnlyDictionary<IProperty,Object>
Özelliklerden değerlere yönelik bir sözlük.
- entityType
- IEntityType
Varlık türü.
Döndürülenler
Oluşturulan girdi.
Açıklamalar
Değerlerin IProperty ada göre değil de tarafından anahtarlanması, aynı karmaşık türü paylaşan birden çok karmaşık özellik için ayrı değerlerin sağlanmasına olanak tanır. Karmaşık koleksiyonlar bu aşırı yükleme tarafından desteklenmez.