摘要: 1 namespace DAL 2 { 3 /// 4 /// 菜品预定管理 5 /// 6 public class DishBookService 7 { 8 /// 9 /// 客户预定 10 /// 11 /// 12 ... 阅读全文
posted @ 2018-01-03 22:26 爱踢两键 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1、新建项目--Web--MVC4WEB应用程序; 2、输入名称--确定--空-- 3、添加新建项目--C#类库:BLL(引用DAL、Models),DAL(引用Models),Models 4、UI部分就是MVC部分(引用BLL、Models) 5、DAL添加Helper文件夹,SQLHelper 阅读全文
posted @ 2018-01-03 21:21 爱踢两键 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1、在Models下写处理程序的类 2、在Controllers下加入控制器 3、在Views加文件夹(与控制器同名),再加视图名称 MVC的程序入口:App_Start/RouteConfig下的Default路由来确定。 阅读全文
posted @ 2018-01-03 20:34 爱踢两键 阅读(163) 评论(0) 推荐(0) 编辑