如何使LINQPAD DB连接在多台计算机上工作?

发布于 2025-01-21 18:11:54 字数 159 浏览 2 评论 0原文

我有许多用于查询数据库的LINQPAD脚本。这些文件全部都在Dropbox中,因此我在计算机上都有所有查询。非常方便。

但是,每个脚本都与数据库连接绑定,并且该连接在不同的计算机上不起作用。我猜这与密码的存储方式有关。是否有一种方法可以使LINQPAD脚本中的DB连接在不同的计算机上有效?

I have many LinqPad scripts I use to query databases. These files are all in dropbox so I have all my queries available across computers. Very handy.

However each script is tied to a database connection, and that connection does not work on different computers. I'm guessing it has to do with how the passwords are stored. Is there a way to get the db connections in the linqpad scripts to be valid across different computers?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绝不放开 2025-01-28 18:11:54

在另一台计算机上打开查询后,右键单击自动出现在模式资源管理器中的连接,更新密码,然后单击“记住此连接”。

这样可以将连接详细信息保存到您的本地计算机上,该计算机优先于查询中存储的连接详细信息。

After opening the query on another computer, right-click the connection that automatically appears in the Schema Explorer, update the password, and click 'Remember this connection'.

This saves the connection details to your local computer, which takes precedence over the connection details stored in your query.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文