Specifying select-before-update with Fluent NHiber

2019-06-08 06:32发布

问题:

I'm trying to specify the "select-before-update" attribute in a ClassMap using Fluent NHibernate, but I'm not finding much on the web that shows what the right way to do it is. Does anyone know how to achieve this with Fluent NHibernate? Thanks!

回答1:

SelectBeforeUpdate() in your ClassMap.