-
5 votesanswersviews
命名空间'urn:nhibernate-mapping-2.2'中的元素'class'具有无效的子元素'property'
hbm文件是: <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"> <class name="EMSApplication.Domain.Employee, EMSApplication.Domain" table="ems_Employees" prox... -
2 votesanswersviews
流利的Nhibernate和自定义集合
我有以下Fluent NHibernate配置... public class TemplateMap : ClassMap<Template> { public TemplateMap() { Not.LazyLoad(); Id(t => t.Id).GeneratedBy.Sequence("TEMPLATE_ID_... -
6 votesanswersviews
NHibernate区分连接子类的子类
这是我的heirarchy: class abstract Entity { /*members*/ } // mapped to entity table class abstract User : Entity { /*members*/ } // mapped to user table class Employee : User { /*no members*/ } // no tabl...