摘要: 本项目使用.net mvc5 和spring.net2 使用nuget引入 spring.core、spring.data、spring.Aop、spring.Web等基础DLL后加入spring.web.mvc5 修改 Global.asax文件 public class MvcApplicati 阅读全文
posted @ 2016-02-04 09:34 红色十字军 阅读(280) 评论(0) 推荐(0)
摘要: 1、定义一个增删改查基础类的接口 public partial interface IRepositoryBase<T> where T : BaseModel { T GetById(Guid id); T GetById(int id); T GetById(long id); T GetByI 阅读全文
posted @ 2016-02-04 09:15 红色十字军 阅读(266) 评论(0) 推荐(0)