NPersistence Reference Guide
Synchronize the persistence context to the underlying database.

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
void Flush()

Exceptions

ExceptionCondition
NPersistence..::..TransactionRequiredException if there is no transaction
NPersistence..::..PersistenceException if the flush fails

See Also