Hi,
I have some problems with session.Load.
When I try to load an object from the database, in this case User, I get the following error:
a different object with the same identifier value was already associated with the session: 715, of class: Test.Entities.User.
Well, I understand where the problem lies and I have solved it by removing other places that may load the User object again with a session or maybe a temporary variable.
Does anyone know a good way to get around this problem? Is there anyway I can find the object in the session again without accessing the database?
Cheers,
Yagami
|