MVC
文章平均质量分 78
sinat_15155817
生命在于运动
展开
-
MVC入门
http://www.cnblogs.com/iamlilinfeng/archive/2013/04/01/2992432.html原创 2016-10-24 16:22:11 · 172 阅读 · 0 评论 -
学习Entity Framework 中的Code First
原文地址:http://www.cnblogs.com/Wayou/archive/2012/09/20/EF_CodeFirst.html 最近在对MVC的学习过程中,接触到了Code First这种新的设计模式,感觉很新颖,并且也体验到了这种方式所带来的便利。这里将我的一些理解分享出来。 需要了解的概念 POCO POCO(Plain Old CLR Objec转载 2016-09-28 17:30:08 · 1153 阅读 · 0 评论 -
ASP.NET MVC从视图传递多个模型到Controller
原文地址:http://www.cnblogs.com/Wayou/p/pass_multi_modes_to_controller_in_MVC.html 从后台组织好数据然后传递到页面倒是水到渠成很方便,因为MVC自身就将这样的需求内建到了这个系统中。我只需要在后台组织好一个List 或IEnumerable类型的变量,将需要传递的数据模型扔进去便可。 比如这里我们向视图返回5条转载 2016-09-28 17:46:18 · 362 阅读 · 0 评论