I'm using Eager Loading to bring back 2 types of entities that I later want to put into IEnumberables of the respective types to do work with.
crocodileEntities proxy = new crocodileEntities(new Uri("CrocodileDbDataService.svc", UriKind.Relative));
var ProjectionsQuery = from OptionARMRuns in proxy.OptionARMRuns.Expand("OptionARMRunId") select OptionARMRuns;
DataServiceQuery userProjectionsQuery = (DataServiceQuery)ProjectionsQuery;
userProjectionsQuery.BeginExecute(new AsyncCallback(OnLoadComplete), ProjectionsQuery);
In the callback function I am able cast the result back to DataServiceQuery and then to a list of that type, but is there anyway to cast it to the child entity type?
Thanks much.