Howdy all,
I'm new to nHibernate (great piece of work, btw) and I'm hoping to make a change to nHibernate for my own (evil :twisted: ) purposes:
I'm wanting to be able to dynamically change the set of fields included in the Insert and Update SQL statements based on an "update-level".
I was thinking of changing the Save/Update methods to accept an additonal integer parameter indicating the "update-level" and having the persister process this value against a slightly altered mapping file where "update = true|false" is replaced with "update = [0-9]".
Can anyone give me a couple of hints as to where in the code I should go looking?
Cheers,
Symon.
|