Bahasa

IUpdateAdapter.CreateEntry Metode

Definisi

Overload

Nama Deskripsi
CreateEntry(IDictionary<String,Object>, IEntityType)
Kedaluwarsa.

Membuat entri baru dengan nilai properti yang diberikan untuk jenis entitas tertentu.

CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType)

Membuat entri baru dengan nilai properti yang diberikan untuk jenis entitas tertentu.

CreateEntry(IDictionary<String,Object>, IEntityType)

Sumber:
IUpdateAdapter.cs
Sumber:
IUpdateAdapter.cs
Sumber:
IUpdateAdapter.cs
Sumber:
IUpdateAdapter.cs
Sumber:
IUpdateAdapter.cs

Perhatian

Use the overload that accepts a dictionary keyed by IProperty instead.

Membuat entri baru dengan nilai properti yang diberikan untuk jenis entitas tertentu.

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

Parameter

values
IDictionary<String,Object>

Kamus nama properti ke nilai.

entityType
IEntityType

Jenis entitas.

Mengembalikan

Entri yang dibuat.

Atribut

Berlaku untuk

CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType)

Sumber:
IUpdateAdapter.cs

Membuat entri baru dengan nilai properti yang diberikan untuk jenis entitas tertentu.

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

Parameter

values
IReadOnlyDictionary<IProperty,Object>

Kamus properti ke nilai.

entityType
IEntityType

Jenis entitas.

Mengembalikan

Entri yang dibuat.

Keterangan

Kunci nilai dengan bukan berdasarkan IProperty nama memungkinkan nilai yang berbeda disediakan untuk beberapa properti kompleks yang memiliki jenis kompleks yang sama. Koleksi kompleks tidak didukung oleh kelebihan beban ini.

Berlaku untuk