用Fluent NHibernate指定select-before-update? [英] Specifying select-before-update with Fluent NHibernate?

查看:164
本文介绍了用Fluent NHibernate指定select-before-update?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用Fluent NHibernate在ClassMap中指定select-before-update属性,但是我没有在web上找到正确的方法。有谁知道如何用流利的NHibernate做到这一点?在你的的解决方案! > ClassMap 。


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!

解决方案

SelectBeforeUpdate() in your ClassMap.

这篇关于用Fluent NHibernate指定select-before-update?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆