Hi,
I am looking for an NHibernate/ActiveRecord afterload event to complement the onLoad event. The use case is I have some processing I want to do if the object is changed after load but not during loading from the database. for example a tax calculation that should only be carried out when the amount changes, but the calculated amount can be overriden by the user. The calculation is done via the propertychanged event which fires during load. So if I have a before and after load event, I can set a flag to only calc before(eg.new object)/after load but not during. If someone can give me a point in the right direction that would be great.
Thank You, Gerdus
|