Multiple assemblies

Multiple assemblies

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


Slayer posted on Monday, October 20, 2008

Hi

Some Background :

Many moons ago, i wrote a Library (SDK) which makes it possible to integrate with some 3rd party accouting software. One public class exposed by the SDK was the Customer class, which in turn collaborated with a CustomerContacts collection. These classes supports n-level undo + validation rules ect. by implementing the CSLA objects. In order to use this SDK, your GUI would simply reference this SDK library and the freely use the exposed classes. EASY !

Question :

The project that im currently working, uses SQL server as database, also contains a Customer class within its business layer. Now i would like my Customer class to collaborate with the SDK Customer class,but the SDK library must be completely invisible to my GUI.

I need advice on how to do this. I would like to wrap the SDK Customer in some way, exposing certain properties and report back on broken business rules ect. - but it is extremely difficult to wrap. Any ideas?

Thanks

Copyright (c) Marimer LLC