Table of Contents

Class EntityObjectRelationSort

Namespace
TimeCockpit.Data
Assembly
TimeCockpit.Data.dll

Class containing helper methods for sorting a set of entities along their relation dependency.

public class EntityObjectRelationSort
Inheritance
Object
EntityObjectRelationSort
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

EntityObjectRelationSort()

public EntityObjectRelationSort()

Methods

Topological(IEnumerable<EntityObject>)

Topological sort by entity object relations.

public static IEnumerable<EntityObject> Topological(IEnumerable<EntityObject> objects)

Parameters

objects IEnumerable<EntityObject>

The objects to sort.

Returns

IEnumerable<EntityObject>

Returns the sorted objects.