Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是亚音速的新手,无法在一个查询中找到加载数据的方法,它是父母或孩子的数据。亚音速可以吗?
基本上没有 SubSonic 2 不支持深度加载。但是,在 SubSonic 3 中使用 IQueryable 是可能的。有关更多信息,请参阅以下帖子:
亚音速深度加载:是否支持?
你可以用 subsonic 2 来做。用相同的命名空间和类名创建一个部分类。
然后创建一个在调用时加载数据的属性。