public void Dispose() { if (m_NeedCommit) { m_Manager.RollbackTransaction(); } m_Manager.Dispose(); }