IUpdateAdapter.CreateEntry Method

Definition

Creates a new entry with the given property values for the given entity type.

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
Public Function CreateEntry (values As IDictionary(Of String, Object), entityType As IEntityType) As IUpdateEntry

Parameters

values
IDictionary<String,Object>

A dictionary of property names to values.

entityType
IEntityType

The entity type.

Returns

The created entry.

Applies to