KristianP wrote:
psandler wrote:
But, in very broad terms, that doesn't sound like the best design from your brief description.
Are they utility methods? Can you have a Utility assembly that all your "business assembly controller classes" have access to?
No, they are not utility classes. Basically, I have a Facade Layer, which contains a manager class (Controller) for each table in the database. There are two different databases involved here; Accounting and Workers Comp (I know..I said sales). Accounting need to pull data from the workers database, and workers needs to pull some data from the accounting database. In order to re-use our cross domain functionality, each divison has their own business / data components. As you know, it would be silly to not reuse there services already tested and developed.
Can you break each domain into two assemblies. So, the works comp entities that sales needs are in a seperate dll?
For example...
WorkComp.dll
WorkCompShared.dll
Accounting.dll
AccountingShared.dll
Accounting.dll will reference WorkCompShared.dll
WorkComp.dll will reference AccountingShared.dll
If possible, this way there are not circular references.
Or, have a single assembly that talks to two catalogs but has the common entities in them...
Accounting.dll
WorkComp.dll
AcctWorkCompCommon.dll
BOb