.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.GetObjectsToSave Method

Name Parameters Description
GetObjectsToSave() none

Returns a collection of objects that will be saved when the current transaction is committed.

GetObjectsToSave(Boolean) includeParent

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.