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

ActionAttribute.AutoCommit Property

Specifies whether to commit the changes made to data when the Action attribute’s target method is executed.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public bool AutoCommit { get; set; }

#Property Value

Type Description
Boolean

true if data changes are to be commited; otherwise, false.

#Remarks

If the AutoCommit property is set to true, the Action Attribute (ActionAttribute) has the following behavior:

If the AutoCommit property is set to false, the data changes performed when executing the Action attribute’s target method are not committed at once.

By default, this property is set to true.

See Also