简体   繁体   English

Visual Studio 2015中缺少LocalDB吗?

[英]LocalDB missing from Visual Studio 2015?

I am trying to add a local database to my project but there doesn't seem to be such an option. 我正在尝试将本地数据库添加到我的项目中,但似乎没有这种选择。

在此处输入图片说明

VS 2015中已删除“本地数据库”模板-建议您在MSDN上找到与VS 2015相关的教程。例如,您可以使用基于服务的数据库。

You can use Entity Framework Code First or Entity Framework Model First approach. 您可以使用“实体框架代码优先”或“实体框架模型优先”方法。 If you are a novice, first google some tutorials about it :) 如果您是新手,请首先在Google上找到有关它的教程:)

You need to download it from here: https://msdn.microsoft.com/en-us/library/hh510202.aspx 您需要从这里下载它: https : //msdn.microsoft.com/en-us/library/hh510202.aspx

after installation restart your visual studio and you can find the option right there now. 安装后,重新启动Visual Studio,您现在可以在此处找到该选项。

Or better you reinstall the latest stable version of VS-2015 again. 最好还是重新安装VS-2015的最新稳定版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM