Hello,
I am begining with NetTiers 2.2 and I either don't understand what is the deesave() function or don't implement it correctly...
I have an entity to which are linked some collections, and there is an integrty control in between. for example: a contact is linked whith some trainers.
If I just request the delete of the entity (contact) then I get an error as relatives tables still have some records.
So I tryed to DeepLoad the entity, mark all the linked collection elements as delete (MarkToDelete), mark the entity to delete, then call the DeepSave(entity, IncludeChildren)
This doesn't work, as collection are note deleted from the tables.
Could someone give me an example how to proceed, or give me the right way to do this.
Thank's
Eric