Sprache

IUpdateAdapter.CreateEntry Methode

Definition

Überlädt

Name Beschreibung
CreateEntry(IDictionary<String,Object>, IEntityType)
Veraltet.

Erstellt einen neuen Eintrag mit den angegebenen Eigenschaftswerten für den angegebenen Entitätstyp.

CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType)

Erstellt einen neuen Eintrag mit den angegebenen Eigenschaftswerten für den angegebenen Entitätstyp.

CreateEntry(IDictionary<String,Object>, IEntityType)

Quelle:
IUpdateAdapter.cs
Quelle:
IUpdateAdapter.cs
Quelle:
IUpdateAdapter.cs
Quelle:
IUpdateAdapter.cs
Quelle:
IUpdateAdapter.cs

Achtung

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

Erstellt einen neuen Eintrag mit den angegebenen Eigenschaftswerten für den angegebenen Entitätstyp.

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>

Ein Wörterbuch mit Eigenschaftsnamen zu Werten.

entityType
IEntityType

Der Objekttyp.

Gibt zurück

Der erstellte Eintrag.

Attribute

Gilt für:

CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType)

Quelle:
IUpdateAdapter.cs

Erstellt einen neuen Eintrag mit den angegebenen Eigenschaftswerten für den angegebenen Entitätstyp.

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>

Ein Wörterbuch von Eigenschaften zu Werten.

entityType
IEntityType

Der Objekttyp.

Gibt zurück

Der erstellte Eintrag.

Hinweise

Durch Das Schlüsseln der Werte IProperty anhand des Namens können unterschiedliche Werte für mehrere komplexe Eigenschaften bereitgestellt werden, die denselben komplexen Typ aufweisen. Komplexe Auflistungen werden von dieser Überladung nicht unterstützt.

Gilt für: