CSLA with Nhibernate

CSLA with Nhibernate

Old forum URL: forums.lhotka.net/forums/t/5325.aspx


melvis_vaz posted on Friday, August 29, 2008

I am using a object Customer which derives from BusinessBase class. We also have a child object Customer Addresses which derives from BusinessBase class. We are loading both these objects using Nhibernate.

      So, we get the Customer object with Customer address object as child objects. But changes in customer address object does not make the Customer object dirty. Do we need to use the FieldManager to check if the customer address object exist, if not use SetProperty / LoadProperty to set the customer address object to the customer address object within customer object.

Any other ideas??

Copyright (c) Marimer LLC