阅读背景:

当对具有一对多关系的对象使用版本乐观锁定时,NHibernate StaleObjectStateException

来源:互联网 

I am using NHibernate and ASP.Net using a session per request as suggested in the best practices article by Billy McCafferty (sorry, I cannot include the link). I have used this successfully with version optimistic locking, saving updated objects in the HTTP Session object and reattaching to the NHibernate session using the SaveOrUpdate method.I am using NHibernate and ASP.Net using a sessi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: