crud在没有实体框架的mvc 2 web应用程序中运行并使用sql server数据库 [英] crud Operation in mvc 2 web application without entity framework and used sql server database

查看:64
本文介绍了crud在没有实体框架的mvc 2 web应用程序中运行并使用sql server数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2010中使用.aspx扩展的mvc 2中的crud操作。不使用.dbml或.edmx。

crud operation in mvc 2 with .aspx extention in visual studio 2010. without using .dbml or .edmx.

推荐答案

编写自己的数据层,就像每个人都习惯了。您将编写EF为您创建的所有代码,因此它比在论坛回复中更容易解释更多的工作。



MVC2真的很糟糕,任何机会你至少可以移动到3?
Write your own data layer, just like everyone used to do. You'll be writing all the code EF creates for you, so it's more work than can be easily explained in a forum reply.

MVC2 really sucks, any chance you can move to 3 at least ?


这篇关于crud在没有实体框架的mvc 2 web应用程序中运行并使用sql server数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆