views:

53

answers:

0

I have a problem with entity refreshing in NHibernate.

I have an entity with IList property; this property is mapped with "list" tag on hbm mapping file.

Now, on maintenance window if I remove some elements from the list (without saving) and then I call NHibernate refresh to restore changes the list items, that previously I removed, are restored with the default value of their class and not with the effective value saved on database.

Which would be the cause?