关于实体框架 [英] About entity framework

查看:79
本文介绍了关于实体框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是mvc3的新手.我想了解mvc3中的实体框架和数据库连接,如何保存数据,更新数据,删除数据.任何人都可以帮我解决这个问题.
在此先感谢

Hi,
I am new to mvc3. I want to know about entity framework and database connections in mvc3,how to save the data,update the data,delete the data.can anyone help me out of this.
Thanks in advance

推荐答案

请参阅:系列10篇文章.
使用ASP.NET MVC应用程序中的实体框架实现基本的CRUD功能(2) [ ^ ]
^ ]
使用ASP.NET MVC应用程序中的实体框架读取相关数据(5) [在ASP.NET MVC应用程序中使用实体框架更新相关数据(6) [ ^ ]
在ASP.NET MVC应用程序中使用实体框架实现继承(8) [在ASP.NET MVC应用程序中实现存储库和工作单元模式(9) [ MVC Web应用程序的高级实体框架方案(10) [架构指南:ASP.NET,MVC3,实体框架,代码-首先是现有数据库,然后是其他数据库. [ ^ ]
Please refer: Series of 10 articles.
Creating an Entity Framework Data Model for an ASP.NET MVC Application (1)[^]
Implementing Basic CRUD Functionality with the Entity Framework in ASP.NET MVC Application (2)[^]
Sorting, Filtering, and Paging with the Entity Framework in an ASP.NET MVC Application (3)[^]
Creating a More Complex Data Model for an ASP.NET MVC Application (4)[^]
Reading Related Data with the Entity Framework in an ASP.NET MVC Application (5)[^]
Updating Related Data with the Entity Framework in an ASP.NET MVC Application (6)[^]
Handling Concurrency with the Entity Framework in an ASP.NET MVC Application (7)[^]
Implementing Inheritance with the Entity Framework in an ASP.NET MVC Application (8)[^]
Implementing the Repository and Unit of Work Patterns in an ASP.NET MVC Application (9)[^]
Advanced Entity Framework Scenarios for an MVC Web Application (10)[^]

A CP Article:
Architecture Guide: ASP.NET, MVC3, Entity Framework, Code-First with existing Database and few more..[^]


这篇关于关于实体框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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