Returns a collection of persistent objects that will be saved when the current transaction is committed, including objects that will be saved in the parent transaction(s), optionally.
ICollection GetObjectsToSave( bool includeParent )
Function GetObjectsToSave( includeParent As Boolean ) As ICollection
true, to include persistent objects that will be saved in the parent transaction(s); otherwise, false.
The collection of persistent objects that will be saved when the current transaction is committed.
When you create, modify or delete an object, you should then call the IObjectSpace.CommitChanges method. This method saves all the changes made to the current Object Space's persistent objects to the database. To get the list of objects to be committed, use the IObjectSpace.ModifiedObjects property. After calling the IObjectSpace.CommitChanges method, this list is empty until creating, modifying or deleting an object.