Skip to content

Class DatabaseMigrationOperationalPlaybook

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Describes the engine-owned ordered operator playbook for database migration targets.

public sealed class DatabaseMigrationOperationalPlaybook

objectDatabaseMigrationOperationalPlaybook

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

DatabaseMigrationOperationalPlaybook(DateTimeOffset, IReadOnlyList<DatabaseMigrationOperationalStep>?, IReadOnlyList<DatabaseMigrationOperationalExecutionGroup>?)

Section titled “ DatabaseMigrationOperationalPlaybook(DateTimeOffset, IReadOnlyList<DatabaseMigrationOperationalStep>?, IReadOnlyList<DatabaseMigrationOperationalExecutionGroup>?)”

Creates a new database-migration operational playbook.

public DatabaseMigrationOperationalPlaybook(DateTimeOffset generatedAtUtc, IReadOnlyList<DatabaseMigrationOperationalStep>? steps = null, IReadOnlyList<DatabaseMigrationOperationalExecutionGroup>? executionGroups = null)

generatedAtUtc DateTimeOffset

The UTC timestamp when the playbook was created.

steps IReadOnlyList<DatabaseMigrationOperationalStep>?

The ordered operator steps derived from the current migration catalog.

executionGroups IReadOnlyList<DatabaseMigrationOperationalExecutionGroup>?

The ordered physical-target execution groups derived from the current migration catalog and shared-target topology truth.

Gets the number of targets that are configured for startup execution.

public int ApplyOnStartupTargetCount { get; }

int

Gets the number of physical-target execution groups that span multiple logical migration targets.

public int CoordinationRequiredGroupCount { get; }

int

Gets the number of targets that share one physical database target with another migration target.

public int CoordinationRequiredTargetCount { get; }

int

Gets the total number of physical-target execution groups in the playbook.

public int ExecutionGroupCount { get; }

int

Gets the ordered physical-target execution groups derived from the current migration catalog.

public IReadOnlyList<DatabaseMigrationOperationalExecutionGroup> ExecutionGroups { get; }

IReadOnlyList<DatabaseMigrationOperationalExecutionGroup>

Gets the UTC timestamp when the playbook was created.

public DateTimeOffset GeneratedAtUtc { get; }

DateTimeOffset

Gets the number of targets that publish a direct or manual command path.

public int ManualPathTargetCount { get; }

int

Gets the number of targets that publish a production-recommended command.

public int ProductionReadyTargetCount { get; }

int

Gets the ordered operator steps derived from the current migration catalog.

public IReadOnlyList<DatabaseMigrationOperationalStep> Steps { get; }

IReadOnlyList<DatabaseMigrationOperationalStep>

Gets the total number of migration targets in the playbook.

public int TargetCount { get; }

int