禁用反序列化数据库项目架构

发布于 2024-09-24 21:37:14 字数 223 浏览 3 评论 0原文

最近我们开始在 Visual Studio 2010 中使用数据库项目。我向解决方案添加了一个相当大的数据库并导入了所有对象。所有警告均已消除,因此构建良好。

真正让我烦恼的一件事是,当您打开解决方案时,数据库项目将开始加载数据库模式,这需要一些时间(分钟)并使用大量资源。实际上,我无法在加载解决方案后立即开始工作。

除了从解决方案或其他硬件中删除数据库项目之外,还有什么方法可以禁用或更改该行为?

Recently we started working with Database project in Visual Studio 2010. I have added a reasonably large database to the solution and imported all objects. All warnings have been eliminated so it builds fine.

The one thing that really annoys me is that when you open the solution, the database project will start to load the database schema which takes some time (minutes) and uses a lot of resources. Practically I am not able to start working the moment the solution was loaded.

Is there any way to disable or change that behavior other than removing the database project from the solution or other hardware?

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

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

发布评论

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

评论(1

比忠 2024-10-01 21:37:14

回答我自己的问题:卸载项目。
这样,下次打开解决方案时,它就不会(本地)加载。
如果您需要处理数据库项目,只需加载它,处理它,然后再次卸载它。

Answering my own question: unload the project.
This way it will (locally) not load the next time you open the solution.
If you need to work on the database project, just load it, work on it and unload it again.

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