SqlServerModificationCommandBatch SqlServerModificationCommandBatch Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class SqlServerModificationCommandBatch : AffectedCountModificationCommandBatch
Public Class SqlServerModificationCommandBatch
    Inherits AffectedCountModificationCommandBatch
Inheritance

Constructors

SqlServerModificationCommandBatch(IRelationalCommandBuilderFactory, ISqlGenerationHelper, ISqlServerUpdateSqlGenerator, IRelationalValueBufferFactoryFactory, Nullable) SqlServerModificationCommandBatch(IRelationalCommandBuilderFactory, ISqlGenerationHelper, ISqlServerUpdateSqlGenerator, IRelationalValueBufferFactoryFactory, Nullable(Of Int32))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public SqlServerModificationCommandBatch(IRelationalCommandBuilderFactory commandBuilderFactory, ISqlGenerationHelper sqlGenerationHelper, ISqlServerUpdateSqlGenerator updateSqlGenerator, IRelationalValueBufferFactoryFactory valueBufferFactoryFactory, int ? maxBatchSize)
Public Sub New(commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, updateSqlGenerator As ISqlServerUpdateSqlGenerator, valueBufferFactoryFactory As IRelationalValueBufferFactoryFactory, maxBatchSize As Integer?)
Parameters
maxBatchSize
System.Nullable<System.Int32> System.Nullable(Of System.Int32)

Properties

CachedCommandText CachedCommandText

CommandResultSet CommandResultSet

LastCachedCommandIndex LastCachedCommandIndex

ModificationCommands ModificationCommands

SqlGenerationHelper SqlGenerationHelper

UpdateSqlGenerator UpdateSqlGenerator

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected virtual ISqlServerUpdateSqlGenerator UpdateSqlGenerator { get; }
Protected Overridable ReadOnly Property UpdateSqlGenerator As ISqlServerUpdateSqlGenerator

Methods

AddCommand(ModificationCommand) AddCommand(ModificationCommand)

CanAddCommand(ModificationCommand) CanAddCommand(ModificationCommand)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override bool CanAddCommand(ModificationCommand modificationCommand)
Protected Overrides Function CanAddCommand(modificationCommand As ModificationCommand) As Boolean
Parameters
Returns
System.Boolean System.Boolean
Overrides

Consume(DbDataReader) Consume(DbDataReader)

ConsumeAsync(DbDataReader, CancellationToken) ConsumeAsync(DbDataReader, CancellationToken)

ConsumeResultSetWithoutPropagation(Int32, DbDataReader) ConsumeResultSetWithoutPropagation(Int32, DbDataReader)

ConsumeResultSetWithoutPropagationAsync(Int32, DbDataReader, CancellationToken) ConsumeResultSetWithoutPropagationAsync(Int32, DbDataReader, CancellationToken)

ConsumeResultSetWithPropagation(Int32, DbDataReader) ConsumeResultSetWithPropagation(Int32, DbDataReader)

ConsumeResultSetWithPropagationAsync(Int32, DbDataReader, CancellationToken) ConsumeResultSetWithPropagationAsync(Int32, DbDataReader, CancellationToken)

CreateStoreCommand() CreateStoreCommand()

CreateValueBufferFactory(IReadOnlyList) CreateValueBufferFactory(IReadOnlyList(Of ColumnModification))

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

Execute(IRelationalConnection) Execute(IRelationalConnection)

ExecuteAsync(IRelationalConnection, CancellationToken) ExecuteAsync(IRelationalConnection, CancellationToken)

GetCommandText() GetCommandText()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override string GetCommandText()
Protected Overrides Function GetCommandText As String
Returns
System.String System.String
Overrides

GetHashCode() GetHashCode()

Inherited from System.Object

GetParameterCount() GetParameterCount()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override int GetParameterCount()
Protected Overrides Function GetParameterCount As Integer
Returns
System.Int32 System.Int32
Overrides

GetType() GetType()

Inherited from System.Object

IsCommandTextValid() IsCommandTextValid()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override bool IsCommandTextValid()
Protected Overrides Function IsCommandTextValid As Boolean
Returns
System.Boolean System.Boolean
Overrides

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ResetCommandText() ResetCommandText()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override void ResetCommandText()
Protected Overrides Sub ResetCommandText
Overrides

ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32) ThrowAggregateUpdateConcurrencyException(Int32, Int32, Int32)

ToString() ToString()

Inherited from System.Object

UpdateCachedCommandText(Int32) UpdateCachedCommandText(Int32)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected override void UpdateCachedCommandText(int commandPosition)
Protected Overrides Sub UpdateCachedCommandText(commandPosition As Integer)
Parameters
commandPosition
System.Int32 System.Int32
Overrides