I have an abstract domain object that is used by both a web application and Windows . This domain object is in the old namespace along with any derived classes.
For my web application, I would like to use data annotations . Usually I created a partial class for the domain object and provided it with the MetaData strong> class . However, I cannot touch the namespace where the domain objects are located , and there is my problem.
Is there any solution for providing partial classes / metadata to domain objects in another namespace? Remember that I cannot touch the namespace of domain objects at all.
source
share