Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DeleteObjectsViewController.AutoCommit Property

Specifies whether to remove objects immediately.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public bool AutoCommit { get; set; }

#Property Value

Type Description
Boolean

true if objects are deleted from the database immediately; false if objects are deleted immediately from root Views, and deleted at the next committing of the changes collected by the Object Space, if the object(s) are from a nested View.

#Remarks

By default, this property is set to false. So, objects from root Views are deleted immediately. However, objects from nested Views are marked as objects to be deleted. They are deleted during the next call of the BaseObjectSpace.CommitChanges method.

See Also