C
Chris Kennedy
I want to serve business objects via a web service. I like the idea, among
other things, of cutting down on round tripping by optionally prefetching
associated objects.
My main concern is how to stop cascading preloading i.e. Customer object
preloads invoices which in turn preload Orders which in turn preloads
Orderlines. Can anyone recommend a way of doing this. Ideally I would like
to be able to easily express e.g. Get a Customer, their Invoices, their
Orders but not Orderlines.
I know this is fairly easy to do with the Entity Framework but I can't use
that. Regards, Chris.
other things, of cutting down on round tripping by optionally prefetching
associated objects.
My main concern is how to stop cascading preloading i.e. Customer object
preloads invoices which in turn preload Orders which in turn preloads
Orderlines. Can anyone recommend a way of doing this. Ideally I would like
to be able to easily express e.g. Get a Customer, their Invoices, their
Orders but not Orderlines.
I know this is fairly easy to do with the Entity Framework but I can't use
that. Regards, Chris.