public void Flush()
{
using (SetSessionContext())
{
if (EsentVersion.SupportsServer2003Features)
{
Api.JetCommitTransaction(this.jetSession, Server2003Grbits.WaitAllLevel0Commit);
}
else
{
using (var jetTx = this.jetSession.BeginTransaction())
{
Api.EscrowUpdate(this.jetSession, this.flushTableId, this.flushColumnId, 1);
jetTx.Commit(CommitTransactionGrbit.None);
}
}
}
}