Table of Contents

Interface IMigrationExecutor

Namespace
eQuantic.Core.Data.Migration
Assembly
eQuantic.Core.Data.dll

Applies the provider-agnostic MigrationOperations declared by a migration to the underlying store (creating collections/containers and indexes, converting and renaming fields, running data updates).

public interface IMigrationExecutor

Methods

ApplyAsync(IReadOnlyList<MigrationOperation>, CancellationToken)

Applies the operations, in order.

Task ApplyAsync(IReadOnlyList<MigrationOperation> operations, CancellationToken cancellationToken = default)

Parameters

operations IReadOnlyList<MigrationOperation>

The declared operations.

cancellationToken CancellationToken

The cancellation token.

Returns

Task