Share via


ReaderModificationCommandBatch.AddCommand Method

Definition

Overloads

Name Description
AddCommand(IReadOnlyModificationCommand)

Adds Updates the command text for the command at the given position in the ModificationCommands list.

AddCommand(ModificationCommand)

Adds the given insert/update/delete ModificationCommands to the batch.

AddCommand(IReadOnlyModificationCommand)

Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs

Adds Updates the command text for the command at the given position in the ModificationCommands list.

protected virtual void AddCommand(Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
public override bool AddCommand(Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
abstract member AddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> unit
override this.AddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> unit
override this.AddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> bool
Protected Overridable Sub AddCommand (modificationCommand As IReadOnlyModificationCommand)
Public Overrides Function AddCommand (modificationCommand As IReadOnlyModificationCommand) As Boolean

Parameters

modificationCommand
IReadOnlyModificationCommand

The command to add.

Returns

true if the command was successfully added; false if there was no room in the current batch to add the command and it must instead be added to a new batch.

Applies to

AddCommand(ModificationCommand)

Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs
Source:
ReaderModificationCommandBatch.cs

Adds the given insert/update/delete ModificationCommands to the batch.

public override bool AddCommand(Microsoft.EntityFrameworkCore.Update.ModificationCommand modificationCommand);
override this.AddCommand : Microsoft.EntityFrameworkCore.Update.ModificationCommand -> bool
Public Overrides Function AddCommand (modificationCommand As ModificationCommand) As Boolean

Parameters

modificationCommand
ModificationCommand

The command to add.

Returns

true if the command was successfully added; false if there was no room in the current batch to add the command and it must instead be added to a new batch.

Applies to