Interface IMigrationExecutor
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
operationsIReadOnlyList<MigrationOperation>The declared operations.
cancellationTokenCancellationTokenThe cancellation token.