首页 > 解决方案 > VisualStudio 社区问题 - LINQ to SQL

问题描述

我想请求你的坟墓智慧。

问题是这样的:

1- 最近安装了“Visual Studio Community”(2021 年 5 月 17 日)并使用 MyMsAccount 登录。

2-创建了一个“C#_Windows Forms”项目。

3-安装“LINQtoSQL 工具”。

(by clicking into the "menu bar" of the ide: tools>GetToolsAndCaracteristics>InstallIndividualComponents>CodingTools>LINQtoSQLTools.)

4-添加一个新类LINQtoSQL

(Using the "menu Bar" of the ide:
Proyect>AddNewElement>Class_LINQtoSQL).

5-然后整个IDE崩溃,所以需要重新启动程序。

6-再次打开程序时,文件:“NameOfMyClass.dbml”出现......所以这很好,不是吗?但不包含在文件中:

"NameOfMyClass.Designer.dbml". 
only contain the file: "NameOfMyClass.dbml.layout".

好吧,我可能是错的......然后我这样做,试图解决......

7-我添加了一个(SQLServer)服务器连接...它是活动的!。

8 -我从我的数据库向 IDE 收费:1 个表(来自 Northwind)和 4 个 StoredProcedures(简单的 CRUD 指令)

并做:

A)编译...没有任何变化。

B)运行项目....没有任何变化。

C)检查LINQtoSQL的所有安装......没有任何变化。

D)重新安装了所有视觉工作室社区......没有任何变化。

****问题是这样的:

¿我怎样才能得到我的“ NameOfMyClass.Designer.dbml”与可以修改的生成代码?

****notes: 
-Windows Recently Re-Installed: (06/MAY/2021).
-Downloaded correct controls from COMPAQ-Inspiron15.5000Series (06/MAY/2021).
-Upgraded Windows and Windows Defender (17/MAY/2021).
-NOT installed another software.
(/*so... I really don't think that is a problem with computer*/)

****发牢骚:

是的,也许是一个菜鸟问题,但我找不到任何相关信息。

前手:为您提供帮助或如果您正在阅读我...感谢您的关注!

标签: c#visual-studioclasslinq-to-sqlide

解决方案


推荐阅读