Table of Contents

Namespace eQuantic.Core.Data.Relational.Migration

Classes

RelationalMigrationExecutionContext

The relational execution context handed to a Run(Func<IMigrationExecutionContext, CancellationToken, Task>) escape hatch: it exposes the open DbConnection so a migration can run any SQL when the fluent operations are not enough.

RelationalMigrationExecutionContextExtensions

Convenience access to the connection from the provider-agnostic context.

RelationalMigrationExecutor

Applies provider-agnostic MigrationOperations as SQL DDL/DML: CREATE TABLE from the model (column types from the dialect, generated keys declared), single- and multi-column indexes, keyed data updates, column renames and type conversions — and hands the connection to escape-hatch steps.

RelationalMigrationHistory

Tracks applied migrations in a _migrations table.

RelationalMigrationRunner

Discovers the migrations marked with MigrationAttribute across the supplied assemblies, orders them by timestamp, skips the recorded ones and applies the rest through the executor.