在新的 Visual Studio 2010 SQL Server 项目类型中,.dbproj.schemaview 文件的用途是什么?

发布于 2024-09-27 16:10:42 字数 24 浏览 1 评论 0原文

我应该将其添加到源代码存储库中吗?

And should I add it to the source code repository?

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

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

发布评论

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

评论(1

雪化雨蝶 2024-10-04 16:10:42

它用于模式视图的状态持久化。
该视图的状态保存在本地,无需将其添加到源代码中。

SQL Server 项目类型有一个特殊的架构视图窗口和一个额外的数据菜单项。

此外,解决方案资源管理器还有两个额外的按钮:数据库架构视图重新分析项目

当模式视图打开时,数据|模式视图下的 4 个菜单项将被激活,其功能与模式视图窗口中的 4 个按钮相同(模式视图窗口中的一个相当奇怪的按钮是“解决方案资源管理器”按钮返回到“解决方案资源管理器”。)

请注意“架构视图”窗口中的外部元素内置元素菜单项。
当您选择内置元素时,内置数据库角色的架构将变得可见(例如 db_owner)。
当您选择外部元素时,在不同项目中定义的架构可能会变得可见。

此类设置保存在 schemaview 文件中。

It is for state persistence for Schema View.
The state of this view is saved locally, there is no need to add it to source code.

The SQL Server project type has a special Schema View window and an extra Data menu item.

Also the Solution Explorer gets two extra buttons: Database Schema View and Reanalyze Project.

When the Schema View is open, 4 menu items under Data|Schema View are activated with the same functionality as 4 of the buttons in the Schema View window (a rather strange button in the Schema View window is the Solution Explorer button to return to the Solution Explorer..)

Note e.g. the External elements and Built in elements menu items in the Schema View window.
When you select Built in elements schema's of built-in db-roles become visible (e.g. db_owner).
When you select External elements schema's defined in different projects may become visible.

Such settings are saved in the schemaview file.

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