Lingua

IUpdateAdapter.CreateEntry Metodo

Definizione

Overload

Nome Descrizione
CreateEntry(IDictionary<String,Object>, IEntityType)
Obsoleti.

Crea una nuova voce con i valori delle proprietà specificati per il tipo di entità specificato.

CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType)

Crea una nuova voce con i valori delle proprietà specificati per il tipo di entità specificato.

CreateEntry(IDictionary<String,Object>, IEntityType)

Origine:
IUpdateAdapter.cs
Origine:
IUpdateAdapter.cs
Origine:
IUpdateAdapter.cs
Origine:
IUpdateAdapter.cs
Origine:
IUpdateAdapter.cs

Attenzione

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

Crea una nuova voce con i valori delle proprietà specificati per il tipo di entità specificato.

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

Parametri

values
IDictionary<String,Object>

Dizionario dei nomi di proprietà ai valori.

entityType
IEntityType

Il tipo di entità.

Valori restituiti

Voce creata.

Attributi

Si applica a

CreateEntry(IReadOnlyDictionary<IProperty,Object>, IEntityType)

Origine:
IUpdateAdapter.cs

Crea una nuova voce con i valori delle proprietà specificati per il tipo di entità specificato.

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

Parametri

values
IReadOnlyDictionary<IProperty,Object>

Dizionario delle proprietà ai valori.

entityType
IEntityType

Il tipo di entità.

Valori restituiti

Voce creata.

Commenti

La chiave dei valori in base a anziché per IProperty nome consente di specificare valori distinti per più proprietà complesse che condividono lo stesso tipo complesso. Le raccolte complesse non sono supportate da questo overload.

Si applica a