AutoSave

Possible values: true and false.

Default value: false.

File: configuration file.

Context: DatabaseManager, Database.

If AutoSave is true and a DO belongs to a transaction and DO.setXXX(value) is done, the DO modification is automatically saved into the transaction.

Delete of DO objects is always implicitly written to transaction.

New DOs created with createVirgin method is saved regarding to the AutoSaveCreateVirgin parameter.

If AutoSave is false, DO.save() is mandatory before the transaction's commit.

AutoSave has no meaning for DOs without transaction.

Sample code:

#values{true,false} default{false} 
DatabaseManager.defaults.AutoSave=true