2010年1月31日
摘要: 对事务有进行了更新,又得去下载一下新版本,对上一版本兼容,扩充了DbTrans方法。 相比十七节(事务)中的事务写法简洁了一些。如下 using (DbTrans trans = DbSession.Default.BeginTransaction()){ trans.Update<Products>(Products._.ProductName, "apple", Products... 阅读全文
posted @ 2010-01-31 13:52 steven hu 阅读(3560) 评论(4) 推荐(3)