摘要: 整个项目的结构图如下:1、开发工具Microsoft Visual Studio2010、SQL Server20122、NHibernate版本为3.3.13、新建类库GaoJie.Domain,在该类库项目下新建两个文件夹Domain和Mapping。编写Student类,该类在Domain文件夹下。代码如下:View Code 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace GaoJie.Domain.Domain 7.. 阅读全文
posted @ 2012-07-02 22:28 小桥屋檐下 阅读(1577) 评论(4) 推荐(0) 编辑