I have an entity, Article, which as multiple related tables, WrittenByUserEntity, SectionEntity, TechnologyEntity. In non-Linq I would create an IPrefetchPath2, and .Add the ArticleEntity's many PrefetchPaths.
Using WithPath I find examples in the unittests and documentation of doing things like customer->order->orderdetail, but I can't seem to figure out how to add multiple prefetch-style items to a single entity type, like so:
Article->WrittenByUser
Article->Section(s)
Article->Technology(s)
I'm around this temporarily by simply building the IPrefetchPath2, adding the Prefetchs, and using .WithPath(mPrefetchs), which is cool, but not very Linq like.
What's the trick here?