I've combed these forums for instructions on how to DeepLoad, and I think I'm either missing something or else my situation is somewhat unique (perhaps my DB architecture is off?). Here's what I'm trying to do:
I have a table called Task:
PK TaskID
Name
Desc
I have another table called Task_Date:
PK TaskDateID
FK TaskID
Date
Hours
Now, I've instantiated a Task object using the following:
Task tsk = AgencyQueue.Data.DataRepository.TaskProvider.GetByTaskID(2);
Now my question is, how do I use DeepLoad to get a collection of associated TaskDate records? None of the documentation I've read really works - there are some things I think I should be getting with intellisense (according to the examples) that I'm not getting and I'm not sure why?
I tried this and no dice:
DataRepository.TaskProvider.DeepLoad(tsk, true, DeepLoadType.IncludeChildren, typeof(TList<TaskDate>));