iusertype相关内容
这篇文章: http://kennytordeur.blogspot.com/2011/04/nhibernate-in-combination-with_06.html 介绍如何从数据库以外的资源加载实体,在这种情况下是web服务。这很好,但是如果我在一个查询中加载了多个客户端,每个客户端都有一个不同的MaritialState,它将不得不为每个客户端调用Web服务。有没有办法预先加
..
接下来是这个问题: NHibernate:延迟加载IUserType 看到我不能懒加载一个属性或一对一的关系,有没有办法我可以使用一个多对一的IUserType?像这样(不起作用):
..
我有一个约定 UserTypeConvention 其中 MyUserType:IUserType 其中 MyUserType 处理枚举类型 MyEnum 。我已经配置了流利的NHibernate sessionFactory = Fluently .Configure() .Database(MsSqlConfiguration。 MsSql2005.Co
..