在 NHibernate 出现以下错误,主要是为 自增长 键的属性 赋了值造成的。
NHibernate.StaleStateException was unhandled
HResult=-2146232832
Message=Batch update returned unexpected row count from update; actual row count: 0; expected: 1
在 NHibernate 出现以下错误,主要是为 自增长 键的属性 赋了值造成的。
NHibernate.StaleStateException was unhandled
HResult=-2146232832
Message=Batch update returned unexpected row count from update; actual row count: 0; expected: 1
转载于:https://www.cnblogs.com/junhwong/archive/2012/06/26/2563781.html