T
Toby Mathews
Hi there
I am trying to return an instance of a class from a web service that
contains a collection of instances of another class. I have three classes:
Person
MyEmails
MyEmail
Person is the 'base' class, which may contain an instance of
'MyEmails',which is essentially a collection of instances of 'MyEmail.' In
the code calling the web method the instance of the 'Person' class returned
is populated correctly, except that the properties/methods of my 'MyEmails'
class cannot be accessed. I just see the generic methods (ToString, Equals
etc). Am I missing something obvious?
The code for the file containing the three classes (in simplified form)
follow - thanks in advance if anyone can help.
I am trying to return an instance of a class from a web service that
contains a collection of instances of another class. I have three classes:
Person
MyEmails
MyEmail
Person is the 'base' class, which may contain an instance of
'MyEmails',which is essentially a collection of instances of 'MyEmail.' In
the code calling the web method the instance of the 'Person' class returned
is populated correctly, except that the properties/methods of my 'MyEmails'
class cannot be accessed. I just see the generic methods (ToString, Equals
etc). Am I missing something obvious?
The code for the file containing the three classes (in simplified form)
follow - thanks in advance if anyone can help.