摘要:
NUnit测试时错误提示:MainTest.MainInit.Init:NHibernate.MappingException : Could not compile the mapping document: Com.Res.DishEditor.Domain.Dish.hbm.xml ----> NHibernate.DuplicateMappingException : Duplicate class/entity mapping Com.Res.DishEditor.Domain.Dish原因: 我在Domain中有一个Dish.cs类,其中定义了一个字段名为Index用来表示排 阅读全文