IBeamMDAA V2版本中,因为变动了 当事人角色 的继承机制,在添加 当事人角色时,为了 构建 当事人-当事人角色之间的关系,代码以下:spa
因为 party.PartyRoles 致使一次多态查询,所以引发了如下错误:继承
An error occured when trying to dispose the transaction ---> NHibernate.StaleStateException: Batch update returned unexpected row count from update; actual row count: 0; expected: 1 io
所以,在之后的代码中,应该注意此代码。 date