Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 29, 2008 06:24 PM by OlegKap
Apr 01, 2008 12:44 AM|LINK
I seem to be having a bit of a problem with eager loading. If I do this:
WebDataQuery<World> worlds = ctx.CreateQuery<World>("/world");
The worlds variable contains 10 World objects all properly populated. Perfect! However, if I do this:
WebDataQuery<World> worlds = ctx.CreateQuery<World>("/world?$expand=user");
The worlds variable only contains 1 World object, properly populated (including the user object). Where, I should be getting back a worlds variable with 10 World objects having the user populated for each. If I throw this query into a webbrowser the xml
returned is correct (ie. 10 Worlds each with the user field expanded) so I believe it is a problem with the Microsoft.Data.WebClient.
I was just wondering if this is a known issue or if I am missing something?
Michael Del Borrello
Apr 29, 2008 06:24 PM|LINK
I have the same issue and also think its Microsoft.Data.WebClient who has a problem.
Did you find a work around this issue or have it confirmed as a bug?