When you spend 2 hours debugging...
Posted: Wed Oct 26, 2016 5:43 am
a custom field added to a table and it just won't save. You save the object. You save the parent object. You save BOTH the object AND the parent object. You loop through the entire collection saving everything with a .Save() method just because nothing else is working.
And then finally you realize you only added the property to the class, you never updated the nHibernate hbm file...
And then finally you realize you only added the property to the class, you never updated the nHibernate hbm file...