Skip to main content
.NET 6.0+

Session.GetObjectsToDelete Method

Name Parameters Description
GetObjectsToDelete() none Returns a collection of persistent objects that will be deleted when the current transaction is committed.
GetObjectsToDelete(Boolean) includeParent 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.