Skip to main content
.NET 8.0+

BaseObjectSpace.GetObjectsToDelete(Boolean) Method

Returns a collection of persistent objects that will be deleted when the current transaction is committed, including objects that will be deleted in the parent transaction(s), optionally.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual ICollection GetObjectsToDelete(
    bool includeParent
)

Parameters

Name Type Description
includeParent Boolean

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

Returns

Type Description
ICollection

The collection of persistent objects that will be deleted 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