Hi,
I have an i IList<IEntity2> of entities. Is there a way to sort the list, based on Relation dependency.
I explain a little more
CustomerEntity
OrderEntity
OrderDetailEntity
OrderEntity has a relation m : 1 with CustomerEntity
OrderDetailEntityhas a relation m : 1 with OrderEntity
in my IList<IEntity2> there are:
index 0: OrderEntity
index 1: CustomerEntity
index 2: OrderDetailEntity
I want to sort this list based on related entity, that will be:
index 0: OrderDetailEntity
index 1: OrderEntity
index 2: CustomerEntity
I want to sort the list as LLBL do in save process. I think that this mecchanism is built on ObjectGraphUtils, but this class is not documented.
I need this sorted list for transmit my entities over WCF, properly sorted.
LLBLGenPro 2.6
Adapter
thank you