Back to Devexpress

ActionAttribute.AutoCommit Property

expressappframework-devexpress-dot-persistent-dot-base-dot-actionattribute-faa9b1be.md

latest1.6 KB
Original Source

ActionAttribute.AutoCommit Property

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

Namespace : DevExpress.Persistent.Base

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public bool AutoCommit { get; set; }
vb
Public Property AutoCommit As Boolean

Property Value

TypeDescription
Boolean

true if data changes are to be committed; 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

ActionAttribute Class

ActionAttribute Members

DevExpress.Persistent.Base Namespace