Objectfactory tighter coupling with business objectsObjectfactory tighter coupling with business objects
Old forum URL: forums.lhotka.net/forums/t/6481.aspx
rfcdejong posted on Sunday, February 22, 2009
Rocky,
Can u expand the objectfactory with more methods? Like u said, it has already gone down the road and even if the coupling between the business and the factory objects bothers you. Don't mind the encapsulation boundaries for the factory and business objects. They need to be tight coupled if it is constructing and filling the object :)
For example:
- PropertyConvert
And properties like
- IsNew
- IsDirty
- IsDeleted
Thanksrfcdejong replied on Thursday, February 26, 2009
?Copyright (c) Marimer LLC