Skip to main content
.NET 6.0+

XPObjectSpace.GetObjectsToSave(Boolean) Method

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.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Xpo

Declaration

public override ICollection GetObjectsToSave(
    bool includeParent
)

Parameters

Name Type Description
includeParent Boolean

true, to include persistent objects that will be saved in the parent transaction(s); otherwise, false.

Returns

Type Description
ICollection

The collection of persistent objects that will be saved when the current transaction is committed.

Remarks

Generally, you do not need to use this method, since it is intended for internal use.

See Also