Optionalprovider: IMetadataProviderProtectedProviderReturns the active provider — explicit override if set, otherwise the global default.
Flatten a dependency tree into a topologically sorted list. Parents appear before their children, ensuring safe restore or clone execution ordering.
Walk from a root record through its relationships, building a tree of all records that should be included in a version label or clone plan.
The starting entity name
The starting record's primary key
Controls depth, filtering, policies, etc.
Server-side user context
The root DependencyNode with all descendants populated
Walks a record's relationship graph to discover all dependent and referenced records.
Traversal rules: