In my domain driven design I have a containing entity, say Car, which has a list of constituent entities, e.g. Wheel.
Now, I want to add a ChangeWheel method to my car entity. Note that changing the wheel does not actually modify the car entity as such. It only affects one of the entites in its wheel collection. I.e. the Car entity has an IList attribute. In my database schema I have a car entity which has no reference to Wheels - rather, the Wheels table has a foreign key of CarId.
When I change the wheel on a car, I update the particular wheel record. The only other table I want to update is a version audit table in the database.
If I, via NHibernate, extract a Car entity from the repository, call ChangeWheel(...), and then save back down again, can I configure NHibernate to not save down a new version of the Car record?
I hope all this makes sense - please ask if not and thanks in advance.