在 DBML 设计器中快速查找(搜索)表? [英] Find (search for) table in DBML designer quickly?

查看:27
本文介绍了在 DBML 设计器中快速查找(搜索)表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的设计包含 150 多个表格,在 .dbml 布局中到处都是线条,很难找到单个表格.

We have a design with 150+ tables and in the .dbml layout has lines everywhere and it's hard to find individual tables.

有没有一种方法可以在 dbml 布局中进行搜索,而不是四处滚动以查找表(Ctrl+F 不起作用),运行 Visual Studio 2010 Ultimate?

Is there a way to search in the dbml layout instead of scrolling around trying to locate a table (Ctrl+F don't work), Running Visual Studio 2010 Ultimate?

推荐答案

您可以做的一件事是转到 Properties 窗口(同时打开 DBML 文件),然后选择生成的类从 Properties 窗口顶部的下拉列表中选择您感兴趣的表格.

One thing you can do is go to the Properties window (while you have your DBML file open), and select the class generated for the table you're interested in from the dropdown list at the top of the Properties window.

这样做应该将 DBML 文件可视化设计器集中在与该类对应的表上.并不总是有效,但当它有效时会很有帮助!

Doing so should focus the DBML file visual designer on that table corresponding to that class. Doesn't work always, but it's quite helpful when it does work!

这篇关于在 DBML 设计器中快速查找(搜索)表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆