Completes the current IUnitOfWork and optionally saves all changes to the
underlying database.

C# | Visual Basic |
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static void CompleteUnitOfWork( bool saveChanges )
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _ Public Shared Sub CompleteUnitOfWork ( _ saveChanges As Boolean _ )

- saveChanges (Boolean)
- Whether or not to save pending changes.