c# - How to subclass a class in Web Reference? (class is in reference.cs) -
i building .dll webservice so:
namespace mydllfromwebservice { public class animaldll_2013 { public animalapi.animal updateanimal(animal animal) { return new animalapi().updateanimal(credentials, animal) } public animalapi.animal getanimal(int id) { return new animalapi().getanimal(credentials, id) } } //i used public class animal { } }
i running issues animal class. want able use animal class in main namespace (not animalapi.animal).
how go making happen? (i tried inheriting have xml errors "not excepted)
please point me in right direction how use xmlinclude or something.
ideally, leave reference.cs if need change it, can (i main class). thanks.
used automapper.dll... worked charm!
Comments
Post a Comment