摘要:
1.web.config 配置<!-- 必须有的配置节--> <configSections> <section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" /> </configSections> <nhibernate> <add key= 阅读全文
摘要:
错误如下!!The following types may not be used as proxies:Entitys.login: method get_Upwd should be virtualEntitys.login: method get_id should be virtualEntitys.login: method get_Uname should be virtualEntitys.login: method set_Uname should be virtualEntitys.login: method get_LastTime should be virtualEnt 阅读全文
摘要:
将 login 对应的映射文件 login.hbm.xml 设置成“嵌入式资源”方法是 在解决方案资源管理器中找到 该映射文件 右击---属性----在将“生成操作”设置成“嵌入的资源”问题解决!! 阅读全文