I’ve got some C# code that returns a Metadata object from DocMan service, and I need to use this in my custom service as a Metadata object, Visual Studio thinks that DocMan.Metadata is not the same as MyService.Metadata and also won’t allow casting between the two. I’ve noticed that the Collaboration service has its own Metadata object and so when added VS gives me one in MyService, DocMan and Collaboration.
How do I copy one Metadata object to another ?