Exemple #1
0
        /// <summary>
        /// CloseTransaction
        /// 关闭事务
        /// </summary>
        public void CloseTransaction()
        {
            if (database.CheckStatus() == false)
            {
                throw new Exception("Database not open,call Open()");
            }

            database.CloseTransaction();
        }