Linq to SQL [英] Linq to SQL
问题描述
查看LearnVisualStudio.NET Visual C#2005教程。我正在使用VS2008。通过课程的1/2路(8/16)我有一个相当重要的不兼容问题。我被指示添加新项 - > SQL模板...但此版本中没有SQL模板。我一直在尝试阅读/研究我需要使用哪个新项目模板以及如何将Northwind Products表从Server Explorer页面拖放到dbml"frame"......但是我迷路了。我找到了一个"Orcas"发布视频,但他承担了比我目前拥有的更高水平的经验。 (他利用CSS等)任何建议将不胜感激。谢谢!
Viewing a LearnVisualStudio.NET Visual C# 2005 tutorial. I am using VS2008. 1/2-way through the lessons (8 of 16) I have a fairly major incompatability issue. I am instructed to Add New Item->SQL Template...but the SQL template is not available in this version. I have been trying to read/research on which New Item Template I need to use and how to drag-n-drop the Northwind Products table from the Server Explorer page to the dbml "frame"...but I'm lost. I found an "Orcas" release video, but he assumes a higher level of experience than which I currently possess. (He utilizes CSS, etc.) Any suggestions would be appreciated. Thanks!!
推荐答案
在Add New Item对话框中选择Data类别,然后选择"LINQ to SQL Classes"。将DBML文件添加到项目中。
左老板
Select the Data category in the Add New Item dialog and then select "LINQ to SQL Classes" to add the DBML file to the project.
Eric
这篇关于Linq to SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!