Skip to main content

DependencyGraphBuilder

  • Namespace: PPDS.Migration.Analysis
  • Assembly: PPDS.Migration
  • Kind: Class
  • Implements: IDependencyGraphBuilder

Summary

Builds entity dependency graphs using Tarjan's algorithm for cycle detection.

Members

Constructors

DependencyGraphBuilder()

DependencyGraphBuilder()

Initializes a new instance of the PPDS.Migration.Analysis.DependencyGraphBuilder class.

DependencyGraphBuilder(ILogger<DependencyGraphBuilder> logger)

DependencyGraphBuilder(ILogger<DependencyGraphBuilder> logger)

Initializes a new instance of the PPDS.Migration.Analysis.DependencyGraphBuilder class.

  • Param logger: The logger.

Methods

Build

DependencyGraph Build(MigrationSchema schema)

Analyzes a schema and builds a dependency graph.

  • Param schema: The migration schema.

  • Returns: The dependency graph with topologically sorted tiers.