Hi,
Imagine you have a filled-in collection and you want to save that collection to the database.
Is the save of each entity done in the same order as in the collection?
Example :
Collection entity_0
entity_1
entity_2
save to database
first the entity_0, then the entity_1 and then entity_2?
What if you do a sort on the collection (client sorting) and the order is changing.
Example :
Collection entity_2
entity_0
entity_1
save to database
first the entity_2, then the entity_0 and then entity_1?
If above is not true, can we use the UnitOfWork2 object?
Must I translated the collection to an add one for one of a entity to a unitofwork object?
I must be able to save a collection in a specific order to the database table.