load an object twice and change one of them, the other one doesnt changed
Posted
by yoni
on Stack Overflow
See other posts from Stack Overflow
or by yoni
Published on 2010-06-13T09:09:34Z
Indexed on
2010/06/13
9:12 UTC
Read the original article
Hit count: 258
c#
|nhibernate
Father father = BL.GetFatherById(1);
Product product = BL.GetByID(123);
(father.Products[553] == product)
product.delete = true;
father.Products[553].delete == false !!??
why is that ?
aren't they connected ?? its the same object.
© Stack Overflow or respective owner