ObjectFactory & Children

ObjectFactory & Children

Old forum URL: forums.lhotka.net/forums/t/5895.aspx


Kevin Fairclough posted on Thursday, November 27, 2008

Hi,

I'm looking at the ObjectFactory and trying to implement it in a sample, however I cannot seem to understand how the Child objects interact with this.  Is it the responsibility of the root object to handle all the data access for the entire graph??

My graph would be BusinessBase (Root) > BusinessListBase (ChildList) > BusinessBase (Child)

Are calls to DataPortal.CreateChild /FetchChild etc redundant?

Kevin Fairclough replied on Friday, November 28, 2008

Ok,  I found a earlier reply by Rocky.

However,  If the RootFactory is to do all data work for the graph how can I get at the DeletedList of the ChildList?  I shouldn't have to inherit and expose from BusinessListBase for this?

Copyright (c) Marimer LLC