2014年12月2日
摘要: 一、新建一个项目,命名为:Service,添加对项目DAO,Model的引用。引入:Spring.Aop.dll,Spring.Core.dll,Spring.Data.dll,Spring.Data.NHibernate21.dll,Spring.Web.dll 文件二、添加接口及其实现using... 阅读全文
posted @ 2014-12-02 18:52 lippor 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 一、新建一个类库,命名为:DAO二、新建接口:IRepositoryusing System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Repository{ public in... 阅读全文
posted @ 2014-12-02 18:42 lippor 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 新建一个项目,第一个net版本的ssh项目,命名为:Nssh.project:新建类库,作为项目model层然后,开始编写代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;name... 阅读全文
posted @ 2014-12-02 17:46 lippor 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 根据刘东老师播客学习配置首先创建数据库:create database nssh 阅读全文
posted @ 2014-12-02 13:46 lippor 阅读(498) 评论(0) 推荐(0) 编辑