/// <inheritdoc /> public override void EndSession(SyncSessionContext syncSessionContext) { if (syncSessionContext.IsCanceled()) { m_session.Abort(); } else { m_session.Commit(); } }
/// <inheritdoc /> public override void BeginSession(SyncProviderPosition position, SyncSessionContext syncSessionContext) { if (!syncSessionContext.IsCanceled()) { if (position == SyncProviderPosition.Local) { m_session.BeginUpdate(); } else { m_session.BeginRead(); } } }
/// <inheritdoc /> public override void EndSession(SyncSessionContext syncSessionContext) { if (syncSessionContext.IsCanceled()) m_session.Abort(); else m_session.Commit(); }
/// <inheritdoc /> public override void BeginSession(SyncProviderPosition position, SyncSessionContext syncSessionContext) { if (!syncSessionContext.IsCanceled()) { if (position == SyncProviderPosition.Local) m_session.BeginUpdate(); else m_session.BeginRead(); } }