5.7.1 RTM
ProduceTopologyOrderedList in ObjectGraphUtils returns a List of the same type as entityToExamine.
public List<TEntity> ProduceTopologyOrderedList<TEntity>(TEntity entityToExamine, out List<Type> orderedTypes)
Shouldn't this be List<IEntityCore> or something like that. Calling the method now results in an invalid cast exception when entityToExamine has instantiated related entities.
Added example:
var customer = new CustomerEntity();
customer.Company = new CompanyEntity();
var entities = new ObjectGraphUtils().ProduceTopologyOrderedList(customer, out var types);
Unable to cast object of type 'MyDomain.EntityClasses.CompanyEntity' to type 'MyDomain.EntityClasses.CustomerEntity'.