LoadWith()
Posted: Mon 02 Nov 2009 10:19
Hello
I have the following query:
Each ReplicationCategory references exactly one Category which will be also loaded with the above query.
So far so good. Now, each category has n translations which I would like to load too:
Unfortunately I got the error message "Category does not contain a definition for 'LoadWith'". Why isn't this method exposed there?
Best regards
________
STARCRAFT II REPLAYS
I have the following query:
Code: Select all
from rc in MyDB.ReplicationCategories.LoadWith(rc => rc.Category)
select rc;
So far so good. Now, each category has n translations which I would like to load too:
Code: Select all
from rc in MyDB.ReplicationCategories.LoadWith(rc => rc.Category.LoadWith(c => c.CategoryTranslations))
select rc;
Best regards
________
STARCRAFT II REPLAYS