I have a model class with many properties that is mapped to the database using NHibernate.
If I want to create a lighter weight version of the same class that is only used to retrieve and update one of the properties are there any shortcuts that NHibernate provides or do I just have to create a new class with a new NHibernate mapping file just for the one property that I am interested in?
The reason I want to do this is for database performance, I dont want to be retrieving 10 pieces of data each time when I know that I am only going to update one specific column.
Thanks everyone, in the end we have gone with creating cut down versions of our model classes and the our dba’s are satisfied.