摘要:
一个简单的Nhibernate查询,居然有Update事件。ISessionFactory sessionFactory = cfg.BuildSessionFactory(); using (ISession session = sessionFactory.OpenSession()) { ITransaction tran = session.BeginTransaction(); Artist a = session.CreateQuery("from Artist") .SetMaxResults(1) ... 阅读全文
posted @ 2011-11-09 15:48
db's jim
阅读(322)
评论(0)
推荐(1)

浙公网安备 33010602011771号