Table of Contents

Class RelationalMigrationExecutionContext

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

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.

public sealed class RelationalMigrationExecutionContext : IMigrationExecutionContext
Inheritance
RelationalMigrationExecutionContext
Implements
Inherited Members
Extension Methods

Constructors

RelationalMigrationExecutionContext(DbConnection)

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.

public RelationalMigrationExecutionContext(DbConnection connection)

Parameters

connection DbConnection

The open connection.

Properties

Connection

The open connection.

public DbConnection Connection { get; }

Property Value

DbConnection