Flushes pending changes to the underlying database optionally
specifying whether the current IUnitOfWork should
be reset.

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

- resetUnitOfWork (Boolean)
- Whether or not the internal state of the unit of work should be reset.