Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 MS Visual Studio 2015 中创建数据库图?没有创建一个选项。
添加到项目 ADO.NET 实体数据模型。它创建.edmx文件并包含具有关系的表。更多信息 MSDN。
.edmx
https://msdn.microsoft.com/en-us/library/ms189078.aspx
https://msdn.microsoft.com/en-us/library/ms171978.aspx
它还安装实体框架。
打开服务器资源管理器 > 连接到数据库。选择Microsoft SQL Server(必须先安装),Server name=.; (或您的 PC 名称),然后选择您的数据库架构。
如果这对您来说很复杂,请观看此视频 :) 祝您好运
Visual Studio 教程:在服务器中使用数据库