/// <summary> /// 销毁事务 /// </summary> private static void DestoryTran() { SortHashTable tran = tranSql; tran.Clear(); tranSql = tran; }
/// <summary> /// 开始事务 /// </summary> public static void BeginTran() { SortHashTable tran = tranSql; tran.Clear(); tranSql = tran; }