问题
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
.
来源:https://stackoverflow.com/questions/1784379/specifying-select-before-update-with-fluent-nhibernate