有关LINQ,SQL Server和Visual Studio 2010的问题 [英] Questions on LINQ, SQL server and visual Studio 2010

查看:120
本文介绍了有关LINQ,SQL Server和Visual Studio 2010的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.
我有几个问题要问

1)可以连接到sql数据库/可以在Visual Studio 2010 Ultimate中使用sql数据库吗?

2)LINQ是否已替换SQL Server

3)LINQ在Visual Studio 2010中起什么作用

4)如何在Visual Studio 2010中连接数据库.不要求输入代码.

改进的问题
谢谢迈克...

您给我的链接是针对Visual Studio 2005和2008的,没有提及Visual Studio2010.因此,如何连接到Visual Studio 2010中的sql数据库.

Hello every one.
I have a few questions to ask

1) Can you connect to sql Database/ Can you use sql database in visual studio 2010 ultimate

2) Has LINQ replaced SQL server

3) What is the role of LINQ in visual studio 2010

4) How to connect to database in visual studio 2010. Not asking for code.

Improved question
Thank you mike...

The link you gave me was for visual studio 2005 and 2008, there''s no mention of visual studio 2010. So how do i connect to sql database in visual studio 2010.

推荐答案

一些答案​​:
1.您可以使用例如服务器资源管理器将Visual Studio连接到数据库: http://msdn.microsoft.com/en-us/library/cc440724(v=vs.90).aspx [ http://msdn.microsoft.com/zh-cn/library/bb308959. aspx [^ ]

4.项目符号1中的链接也应回答此问题.
Some answers:
1. You can connect the Visual Studio to a database using for example Server Explorer: http://msdn.microsoft.com/en-us/library/cc440724(v=vs.90).aspx[^]

2. No, LINQ is a mechanism you can use to for example query data from SQL Server (or from objects or XML etc). The data is often stored in a database such as SQL Server. So LINQ isn''t an alternative for a database.

3. It''s not actually part of Visual Studio but part of .Net framework. Perhaps this would explain more: http://msdn.microsoft.com/en-us/library/bb308959.aspx[^]

4. The link in bullet 1 should answer also this.


这篇关于有关LINQ,SQL Server和Visual Studio 2010的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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