entities in transaction

Posts   
 
    
Asimov
User
Posts: 113
Joined: 05-Dec-2003
# Posted on: 16-Nov-2004 16:38:27   

Hi, if an entity is saved inside a transaction, and that the transaction is rollbacked, will the entity be like it was before the save? (Id == 0, all flags properly set, etc) ? Thank you!

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 16-Nov-2004 17:09:37   

Yes. All field values are backed up as soon as an entity is added to a transaction and when the transaction is rolled back, the fields are restored from the backup, otherwise the backup is thrown away.

Frans Bouma | Lead developer LLBLGen Pro
Asimov
User
Posts: 113
Joined: 05-Dec-2003
# Posted on: 16-Nov-2004 17:12:02   

great! thank wink