ModificationCommand.AddEntry Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddEntry(IUpdateEntry) |
Obsolete.
Adds an IUpdateEntry to this command representing an entity to be inserted, updated, or deleted. |
AddEntry(IUpdateEntry, Boolean) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
AddEntry(IUpdateEntry)
Caution
Use AddEntry with most parameters
Adds an IUpdateEntry to this command representing an entity to be inserted, updated, or deleted.
public virtual void AddEntry (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry);
[System.Obsolete("Use AddEntry with most parameters")]
public virtual void AddEntry (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry);
abstract member AddEntry : Microsoft.EntityFrameworkCore.Update.IUpdateEntry -> unit
override this.AddEntry : Microsoft.EntityFrameworkCore.Update.IUpdateEntry -> unit
[<System.Obsolete("Use AddEntry with most parameters")>]
abstract member AddEntry : Microsoft.EntityFrameworkCore.Update.IUpdateEntry -> unit
override this.AddEntry : Microsoft.EntityFrameworkCore.Update.IUpdateEntry -> unit
Public Overridable Sub AddEntry (entry As IUpdateEntry)
Parameters
- entry
- IUpdateEntry
The entry representing the entity to add.
- Attributes
Applies to
AddEntry(IUpdateEntry, Boolean)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void AddEntry (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry, bool mainEntry);
abstract member AddEntry : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * bool -> unit
override this.AddEntry : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * bool -> unit
Public Overridable Sub AddEntry (entry As IUpdateEntry, mainEntry As Boolean)
Parameters
- entry
- IUpdateEntry
The entry representing the entity to add.
- mainEntry
- Boolean
A value indicating whether this is the main entry for the row.
Implements
Applies to
Entity Framework