Skip to main content

DependencyGraph

  • Namespace: PPDS.Migration.Models
  • Assembly: PPDS.Migration
  • Kind: Class

Summary

Entity dependency graph for determining import order.

Members

Properties

CircularReferences

IReadOnlyList<CircularReference> CircularReferences { get; set; }

Gets or sets detected circular references.

Dependencies

IReadOnlyList<DependencyEdge> Dependencies { get; set; }

Gets or sets the dependency edges between entities.

Entities

IReadOnlyList<EntityNode> Entities { get; set; }

Gets or sets all entity nodes in the graph.

HasCircularReferences

bool HasCircularReferences { get; }

Gets whether the graph contains circular references.

TierCount

int TierCount { get; }

Gets the total number of tiers.

Tiers

IReadOnlyList<IReadOnlyList<string>> Tiers { get; set; }

Gets or sets the topologically sorted tiers. Entities within the same tier can be processed in parallel.