AddCommand(IReadOnlyModificationCommand)
|
Adds Updates the command text for the command at the given position in the ModificationCommands list.
(Inherited from ReaderModificationCommandBatch)
|
AddCommand(ModificationCommand)
|
Adds the given insert/update/delete ModificationCommands to the batch.
(Inherited from ReaderModificationCommandBatch)
|
AddParameter(IColumnModification)
|
Adds a parameter for the given columnModification to the relational command being built for this batch.
(Inherited from ReaderModificationCommandBatch)
|
AddParameters(IReadOnlyModificationCommand)
|
Adds parameters for all column modifications in the given modificationCommand to the relational command
being built for this batch.
(Inherited from ReaderModificationCommandBatch)
|
CanAddCommand(IReadOnlyModificationCommand)
|
Only returns true if the no command has already been added.
|
CanAddCommand(IReadOnlyModificationCommand)
|
Checks whether a new command can be added to the batch.
(Inherited from ReaderModificationCommandBatch)
|
CanAddCommand(ModificationCommand)
|
Only returns true if the no command has already been added.
|
CanAddCommand(ModificationCommand)
|
Checks whether or not a new command can be added to the batch.
(Inherited from ReaderModificationCommandBatch)
|
Complete(Boolean)
|
Indicates that no more commands will be added to this batch, and prepares it for execution.
(Inherited from ReaderModificationCommandBatch)
|
Consume(DbDataReader)
|
(Inherited from AffectedCountModificationCommandBatch)
|
Consume(RelationalDataReader)
|
Consumes the data reader created by Execute(IRelationalConnection).
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeAsync(DbDataReader, CancellationToken)
|
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeAsync(RelationalDataReader, CancellationToken)
|
Consumes the data reader created by ExecuteAsync(IRelationalConnection, CancellationToken).
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSet(Int32, RelationalDataReader)
|
Consumes the data reader created by Execute(IRelationalConnection),
propagating values back into the ModificationCommand.
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetAsync(Int32, RelationalDataReader, CancellationToken)
|
Consumes the data reader created by ExecuteAsync(IRelationalConnection, CancellationToken),
propagating values back into the ModificationCommand.
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetWithoutPropagation(Int32, DbDataReader)
|
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetWithoutPropagation(Int32, RelationalDataReader)
|
Consumes the data reader created by Execute(IRelationalConnection)
without propagating values back into the ModificationCommand.
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetWithoutPropagationAsync(Int32, DbDataReader, CancellationToken)
|
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetWithoutPropagationAsync(Int32, RelationalDataReader, CancellationToken)
|
Consumes the data reader created by ExecuteAsync(IRelationalConnection, CancellationToken)
without propagating values back into the ModificationCommand.
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetWithPropagation(Int32, DbDataReader)
|
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetWithPropagation(Int32, RelationalDataReader)
|
Consumes the data reader created by Execute(IRelationalConnection),
propagating values back into the ModificationCommand.
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetWithPropagationAsync(Int32, DbDataReader, CancellationToken)
|
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetWithPropagationAsync(Int32, RelationalDataReader, CancellationToken)
|
Consumes the data reader created by ExecuteAsync(IRelationalConnection, CancellationToken),
propagating values back into the ModificationCommand.
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetWithRowsAffectedOnly(Int32, RelationalDataReader)
|
Consumes the data reader created by Execute(IRelationalConnection)
without propagating values back into the ModificationCommand.
(Inherited from AffectedCountModificationCommandBatch)
|
ConsumeResultSetWithRowsAffectedOnlyAsync(Int32, RelationalDataReader, CancellationToken)
|
Consumes the data reader created by ExecuteAsync(IRelationalConnection, CancellationToken)
without propagating values back into the ModificationCommand.
(Inherited from AffectedCountModificationCommandBatch)
|
CreateStoreCommand()
|
Generates a RawSqlCommand for the batch.
(Inherited from ReaderModificationCommandBatch)
|
CreateValueBufferFactory(IReadOnlyList<ColumnModification>)
|
Creates the IRelationalValueBufferFactory that will be used for creating a
ValueBuffer to consume the data reader.
(Inherited from ReaderModificationCommandBatch)
|
CreateValueBufferFactory(IReadOnlyList<IColumnModification>)
|
Creates the IRelationalValueBufferFactory that will be used for creating a
ValueBuffer to consume the data reader.
(Inherited from ReaderModificationCommandBatch)
|
Execute(IRelationalConnection)
|
Executes the command generated by this batch against a database using the given connection.
(Inherited from ReaderModificationCommandBatch)
|
ExecuteAsync(IRelationalConnection, CancellationToken)
|
Executes the command generated by this batch against a database using the given connection.
(Inherited from ReaderModificationCommandBatch)
|
GetCommandText()
|
Gets the command text for all the commands in the current batch and also caches it
on CachedCommandText.
(Inherited from ReaderModificationCommandBatch)
|
GetParameterCount()
|
Gets the total number of parameters needed for the batch.
(Inherited from ReaderModificationCommandBatch)
|
IsCommandTextValid()
|
Returns true since only a single command is generated so the command text must be valid.
|
IsCommandTextValid()
|
Checks whether the command text is valid.
(Inherited from ReaderModificationCommandBatch)
|
IsValid()
|
Checks whether the command text is valid.
(Inherited from ReaderModificationCommandBatch)
|
ResetCommandText()
|
Resets the builder to start building a new batch.
(Inherited from ReaderModificationCommandBatch)
|
RollbackLastCommand(IReadOnlyModificationCommand)
|
Rolls back the last command added. Used when adding a command caused the batch to become invalid (e.g. CommandText too long).
(Inherited from ReaderModificationCommandBatch)
|
SetRequiresTransaction(Boolean)
|
Sets whether the batch requires a transaction in order to execute correctly.
(Inherited from ReaderModificationCommandBatch)
|
ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)
|
Throws an exception indicating the command affected an unexpected number of rows.
(Inherited from AffectedCountModificationCommandBatch)
|
ThrowAggregateUpdateConcurrencyException(RelationalDataReader, Int32, Int32, Int32)
|
Throws an exception indicating the command affected an unexpected number of rows.
(Inherited from AffectedCountModificationCommandBatch)
|
ThrowAggregateUpdateConcurrencyExceptionAsync(RelationalDataReader, Int32, Int32, Int32, CancellationToken)
|
Throws an exception indicating the command affected an unexpected number of rows.
(Inherited from AffectedCountModificationCommandBatch)
|
TryAddCommand(IReadOnlyModificationCommand)
|
Attempts to adds the given insert/update/delete modificationCommand to the batch.
(Inherited from ReaderModificationCommandBatch)
|
UpdateCachedCommandText(Int32)
|
Updates the command text for the command at the given position in the
ModificationCommands list.
(Inherited from ReaderModificationCommandBatch)
|