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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -