.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.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.