Fluent nHibernate: No row with the given identifier exists. Error occurs when 2 users delete some item
问题 Fluent nHibernate: No row with the given identifier exists. I have an Object, that has a Items collection. My problem is: Error occurs when 2 users are seeing the object and one user delete some item. The other user should see the object updated, without the deleted item, and not a Exception. I tried: session.Evict(p); // the following line will throw an exception session.Refresh(p); No row with the given identifier exists[Sistema.ERPxx.Pedidos.ItemPedido#74435] In the mapping it is specified