My preference would be to have any of the List<T> (CourierJob) collections lazy-loaded from the BLL, so each instance in the hierarchy above would be loaded at table level, rather than at an psuedo aggregate level as you appear to be
doing in the DAL above. I can probably (later) drop off a quick example in c# of what i mean but am kinda heading off for a bit at the moment, so sorry for giving half the tale just now and leaving you in 'suspense' :[)
jimibt
Member
724 Points
185 Posts
Re: Advice on a design and the single reponsiblity principle
Oct 02, 2008 04:38 PM|LINK
Hi Scott,
My preference would be to have any of the List<T> (CourierJob) collections lazy-loaded from the BLL, so each instance in the hierarchy above would be loaded at table level, rather than at an psuedo aggregate level as you appear to be doing in the DAL above. I can probably (later) drop off a quick example in c# of what i mean but am kinda heading off for a bit at the moment, so sorry for giving half the tale just now and leaving you in 'suspense' :[)
Back in a few hrs....
jimi