亚音速有深度加载吗?

发布于 2024-07-20 23:28:27 字数 48 浏览 1 评论 0原文

我是亚音速新手,无法找到在一个查询中加载父母或孩子数据的方法。 亚音速有可能吗?

I am new in subsonic, and can't find the way to load data whith it's parents or childs data in one query. Is it possible in subsonic?

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

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

发布评论

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

评论(2

﹉夏雨初晴づ 2024-07-27 23:28:27

基本上没有SubSonic 2不支持深度加载。 然而,在 SubSonic 3 中使用 IQueryable 是可能的。 有关详细信息,请参阅以下帖子:

亚音速深度加载:支持吗?

Basically no SubSonic 2 does not support deep loading. It is possible in SubSonic 3 using IQueryable however. See the following post for more:

Subsonic Deeploads: Is This Supported?

辞旧 2024-07-27 23:28:27

你可以用 subsonic 2 来做到这一点。使用相同的命名空间和类名创建一个部分类。

然后创建一个在调用时加载数据的属性。

You CAN do it with subsonic 2. Make a partial class with the same namespace and class name.

Then create a property that loads the data when it is called.

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