Visual Studio 2015 列表中没有本地数据库

No Local Database in list of Visual Studio 2015

您好,我正在尝试使用 Visual Studio 2015 创建本地数据库,但在项目列表中我没有任何本地数据库,只有数据集和基于服务的数据库以及搜索模板也没有。你能帮我弄清楚我必须做什么,在哪里以及如何使用它吗?

好像是Visual Studio2015年,添加本地数据库的方法是selectService Database选项,设置一个数据源指向生成的数据库文件。

MSDN 有一个关于设置 localdb 数据库的 here. They also note here that not all projects support opening the data sources window. If you need to setup a local database with something like ASP.NET MVC, you can refer to this 教程。