在MVC中创建和使用DBContext.(快速回复我) [英] DBContext Create and Use in MVC.(Fast Reply Me)
本文介绍了在MVC中创建和使用DBContext.(快速回复我)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何创建DBContext以及如何在MVC中创建和使用??????
给我逐步的过程或示例..
How to Create DBContext And How to Create and Use in MVC???
Give me step by step Process or Example..
推荐答案
Achal,
正如我之前告诉您的那样,您需要专注于实际需要的东西.请参考以下链接:
如何:创建映射到存储过程和函数的DataContext方法(O/R设计器) [ ^ ]
如何:将LINQ添加到项目的SQL类中(O/R设计器) [ ^ ]
在此处查看类似的讨论 [ ^ ]和此处 [
Hi Achal,
As I told you earlier you need to concentrate on what you want actually. Refer the links below:
How to: Create DataContext Methods Mapped to Stored Procedures and Functions (O/R Designer)[^]
How to: Add LINQ to SQL Classes to a Project (O/R Designer)[^]
View similar discussions here[^] and here[^].
All the best.
--Amit
这篇关于在MVC中创建和使用DBContext.(快速回复我)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文