12 2014 档案
SSH.net之主程序
摘要:现在开始进行mvc3.0主程序的编码一、首先引入Service,Model项目。在HomeController.cs中 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.We... 阅读全文
posted @ 2014-12-03 12:39 lippor 阅读(617) 评论(0) 推荐(0)
SSH.net之Service层
摘要:一、新建一个项目,命名为: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 阅读(272) 评论(0) 推荐(0)
SSH.net之数据访问对象(DAO)
摘要:一、新建一个类库,命名为:DAO二、新建接口:IRepositoryusing System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Repository{ public in... 阅读全文
posted @ 2014-12-02 18:42 lippor 阅读(443) 评论(0) 推荐(0)
SSH.net之model层
摘要:新建一个项目,第一个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 阅读(461) 评论(0) 推荐(0)
spring.net+nhibernate+mvc第一个配置例子
摘要:根据刘东老师播客学习配置首先创建数据库:create database nssh 阅读全文
posted @ 2014-12-02 13:46 lippor