EntityModelGraphGetEntitiesTopologicalSortedBasedOnNormalRelationships Method |
Gets the entities topological sorted based on normal relationships. this means that they're sorted based on the 1:1/1:n/m:1 relationships they're
in. All entities not having these relationships are not considered depending on other entities. Inheritance relationships are not taken into account.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax public IEnumerable<EntityDefinition> GetEntitiesTopologicalSortedBasedOnNormalRelationships()
Public Function GetEntitiesTopologicalSortedBasedOnNormalRelationships As IEnumerable(Of EntityDefinition)
Return Value
Type:
IEnumerableEntityDefinitionenumerable over all entities in this entity model where each pk side is returned before all fk sides depending on it
Remarks there can be cycles in the model. the sorter simply stops traversing a branche if a cycle is detected.
See Also