NHibernate - flagging specific properties as 'dirty'
I am working on an NHibernate project and have a question regarding updating transient entities. Basically the workflow is as follows: Create a DTO (projection) and send over the wire to client. This has a small subset of properties from the entity. Client sends back the changed DTO Map the DTO properties back onto the appropriate enitity so an UPDATE statement can be generated and executed by NH. Save the entity Point 4 is where I have the issue. Currently I can achieve this update using the session.Merge() method, however it must first load the entity from the db (assume no 2LC) before