连接字符串错误“缺少其语句块”

问题描述 投票:0回答:1

我正在使用Visual Studio中更新的Nuget软件包管理器控制台从我从命名Sail连接的数据库中构建模型。当我在“程序包管理器”控制台中输入连接字符串时>

PM> Data Source=localhost;Initial Catalog=Sail;Integrated Security=True

我收到以下错误:

At line:1 char:12
+ Data Source=localhost;Initial Catalog=Sail;Integrated Security=True;  ...
The Data section is missing its statement block.

我正在使用Visual Studio中更新的Nuget软件包管理器控制台从我从命名Sail连接的数据库中构建模型。当我在包管理器中输入连接字符串时...

c# model-view-controller ssms nuget-package
1个回答
0
投票

找到我的答案:下面的块从连接的“ Sail” SQL数据库成功生成了模型。

© www.soinside.com 2019 - 2024. All rights reserved.