摘要: 参考:http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/accessing-your-models-data-from-a-controller本文内容:1,学习了解Model的具体作用2,新建Controller从Model中读取数据传递到View中3,了解Entity Framework Code First4,清楚View页面中@model 声明的强类型转换5,查看View .cshtml的新的HTML书写方法一,Add a new Model ,了解Model的作用Model:存放Model 阅读全文
posted @ 2014-03-07 14:28 sirili 阅读(2351) 评论(1) 推荐(1) 编辑