Questions tagged «server-explorer»

13
如何在Visual Studio Server资源管理器中连接到LocalDB?
经过一个小时的搜索,我不敢相信我无法找到可行的解决方案。我关注的是有关Entity Framework 6.0的本文,该文章提供了有关Code First的简单演练。我创建了该项目,并安装了最新的EF Nuget软件包以供该项目进行编译。我还验证了我已经安装了Visual Studio 2013附带的Microsoft SQL Server 2012 Express LocalDB。我的本地计算机上没有安装任何其他SQL实例。程序运行,并将条目添加到数据库中并在控制台中输出。但是,当文章说“检查您的localdb”时,并没有说如何!我没有在项目文件夹下创建任何“ .mdf”或“ .ldf”文件。我尝试了各种方法来连接Visual Studio' s Server Explorer到LocalDB。向导找不到(localdb)或在服务器资源管理器中找不到任何提供程序来接受连接字符串,就像(localdb)\v11.0;Integrated Security=true;我在StackOverflow中问过这几个地方一样,但是没有答案可用或标记为答案。请帮忙,这不必令人沮丧! 将Visual Studio Server资源管理器连接到LocalDB的步骤是什么?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.