NHibernate 问题

基于VS.NET 2005
1。使用泛型 类型“System.Collections.Generic.IList<T>”需要“1”个类型参数
解决:
      在类库中新建类时,系统自动添加了引用System.Collections.Generic;去掉该引用,并添加
引用 using System.Collections即可!
2.未能找到元素“urn:nhibernate-mapping-2.0:hibernate-mapping”的架构信息。 
解决:
       将2.0改成2.2即可。

posted @ 2007-06-04 11:44  青羽  阅读(644)  评论(0编辑  收藏  举报