我的DataAccessLayer事务的用法.
摘要:
IDal dal = DBFactory.GetDBO(..);dal.Open();try{ dal.BeginTrans(); dal.ExecuteNoneQuery(cmd); dal.CommitTrans();}catch{ dal.RollBackTrans();}finally{ dal.Close(); } 阅读全文
posted @ 2004-08-13 18:49
HelloSnoopy
阅读(419)
评论(0)
推荐(0)
浙公网安备 33010602011771号