ReaderModificationCommandBatch.TryAddCommand 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.
Attempts to adds the given insert/update/delete modificationCommand to the batch.
public override bool TryAddCommand(Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand modificationCommand);
override this.TryAddCommand : Microsoft.EntityFrameworkCore.Update.IReadOnlyModificationCommand -> bool
Public Overrides Function TryAddCommand (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.