Table of Contents

Class MigrationCommandExecutor

Namespace
Microsoft.EntityFrameworkCore.Migrations.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 MigrationCommandExecutor : IMigrationCommandExecutor
Inheritance
MigrationCommandExecutor
Implements
Inherited Members

Constructors

MigrationCommandExecutor()

public MigrationCommandExecutor()

Methods

ExecuteNonQuery(IEnumerable<MigrationCommand>, 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 void ExecuteNonQuery(IEnumerable<MigrationCommand> migrationCommands, IRelationalConnection connection)

Parameters

migrationCommands IEnumerable<MigrationCommand>
connection IRelationalConnection

ExecuteNonQueryAsync(IEnumerable<MigrationCommand>, 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 ExecuteNonQueryAsync(IEnumerable<MigrationCommand> migrationCommands, IRelationalConnection connection, CancellationToken cancellationToken = default)

Parameters

migrationCommands IEnumerable<MigrationCommand>
connection IRelationalConnection
cancellationToken CancellationToken

Returns

Task