BatchExecutor BatchExecutor 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 BatchExecutor : IBatchExecutor
Public Class BatchExecutor
    Implements IBatchExecutor
Inheritance
System.ObjectSystem.Object
BatchExecutorBatchExecutor
Implements

Constructors

BatchExecutor(ICurrentDbContext, IExecutionStrategyFactory) BatchExecutor(ICurrentDbContext, IExecutionStrategyFactory)

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 BatchExecutor(ICurrentDbContext currentContext, IExecutionStrategyFactory executionStrategyFactory)
Public Sub New(currentContext As ICurrentDbContext, executionStrategyFactory As IExecutionStrategyFactory)
Parameters

Properties

CurrentContext CurrentContext

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 virtual ICurrentDbContext CurrentContext { get; }
Public Overridable ReadOnly Property CurrentContext As ICurrentDbContext

ExecutionStrategyFactory ExecutionStrategyFactory

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 IExecutionStrategyFactory ExecutionStrategyFactory { get; }
Protected Overridable ReadOnly Property ExecutionStrategyFactory As IExecutionStrategyFactory

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

Execute(IEnumerable, IRelationalConnection) Execute(IEnumerable(Of ModificationCommandBatch), IRelationalConnection)

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 virtual int Execute(IEnumerable<ModificationCommandBatch> commandBatches, IRelationalConnection connection)
Public Overridable Function Execute(commandBatches As IEnumerable(Of ModificationCommandBatch), connection As IRelationalConnection) As Integer
Parameters
commandBatches
System.Collections.Generic.IEnumerable<ModificationCommandBatch> System.Collections.Generic.IEnumerable(Of ModificationCommandBatch)
Returns
System.Int32 System.Int32

ExecuteAsync(IEnumerable, IRelationalConnection, CancellationToken) ExecuteAsync(IEnumerable(Of ModificationCommandBatch), IRelationalConnection, CancellationToken)

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 virtual Task<int> ExecuteAsync(IEnumerable<ModificationCommandBatch> commandBatches, IRelationalConnection connection, CancellationToken cancellationToken = null)
Public Overridable Function ExecuteAsync(commandBatches As IEnumerable(Of ModificationCommandBatch), connection As IRelationalConnection, cancellationToken As CancellationToken = Nothing) As Task(Of Integer)
Parameters
commandBatches
System.Collections.Generic.IEnumerable<ModificationCommandBatch> System.Collections.Generic.IEnumerable(Of ModificationCommandBatch)
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<System.Int32> System.Threading.Tasks.Task(Of System.Int32)

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object