Hi, I want to know can i customize the insert operation? I have a table say Employee with columns Emp_id,Emp_Name,Dept, StartDate, EndDate and UpdatedBy. We have the last three column to keep track of all the chnages made on a record, since it insert in the table. Like on 3rdJan2011, I inserted a record ABC, IT Dept, 03-01-2011, null ,UpdatedByUser
If on 5th Jan, I updated the record , then the table will look like ABC, IT Dept, 03-01-2011, 05-01-2011,UpdatedByUser ABC, IT Dept, 05-01-2011, null ,UpdatedByUser Note: That the latest record will always have null in the end date. Well this is the logic that I need to implement while inserting the record in the database. Can someone help me on how I can acheive it in NHibernate? -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
