nehibernet .net注意事项

1:xml属性:嵌入资源
建立实体对象:public virtual int id{get;set;}
建立与实体对象同名的xml文件,以.hbm.xml为扩展名
2:StructureMap.config 中注册。

原文地址:https://www.cnblogs.com/pxkuan/p/9233281.html