.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

Session.FlushChangesAsync Method

Name Parameters Description
FlushChangesAsync(AsyncCommitCallback) callback Asynchronously saves changes made to persistent objects to a data store, clears a list of tracked changes and notifies upon completion.
FlushChangesAsync(CancellationToken) cancellationToken Asynchronously saves changes made to persistent objects to a data store and clears a tracked changes list.