private void close() { foreach (DbTran tran in queue) //从头到关闭(关闭时,不能影响其它事务) { try { tran.close(true); } catch (Exception ex) { WeedLog.logException(null, ex); } } }