Table of Contents

Class BatchExecutor

Namespace
Microsoft.EntityFrameworkCore.Update.Internal
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public class BatchExecutor : IBatchExecutor
Inheritance
BatchExecutor
Implements
Inherited Members

Constructors

BatchExecutor(ICurrentDbContext, IDiagnosticsLogger<Update>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public BatchExecutor(ICurrentDbContext currentContext, IDiagnosticsLogger<DbLoggerCategory.Update> updateLogger)

Parameters

currentContext ICurrentDbContext
updateLogger IDiagnosticsLogger<Update>

Properties

CurrentContext

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual ICurrentDbContext CurrentContext { get; }

Property Value

ICurrentDbContext

UpdateLogger

The logger.

protected virtual IDiagnosticsLogger<DbLoggerCategory.Update> UpdateLogger { get; }

Property Value

IDiagnosticsLogger<Update>

Methods

Execute(IEnumerable<ModificationCommandBatch>, IRelationalConnection)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual int Execute(IEnumerable<ModificationCommandBatch> commandBatches, IRelationalConnection connection)

Parameters

commandBatches IEnumerable<ModificationCommandBatch>
connection IRelationalConnection

Returns

int

ExecuteAsync(IEnumerable<ModificationCommandBatch>, IRelationalConnection, CancellationToken)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual Task<int> ExecuteAsync(IEnumerable<ModificationCommandBatch> commandBatches, IRelationalConnection connection, CancellationToken cancellationToken = default)

Parameters

commandBatches IEnumerable<ModificationCommandBatch>
connection IRelationalConnection
cancellationToken CancellationToken

Returns

Task<int>