Help!
I want to serialize mu C# objects uzing the xmlserializer
class. It works well whem all my classes are flat, but
when I use inheritence to split the data and
implementation I get an "unknown element" exception.
namespace A
{
[System.Xml.Serialization.XmlRootAttribute("thing",
Namespace="urn:thing", IsNullable=false)]
public class thing
{
public string name;
}
}
namespace B
{
public class thingUser : A.thing
{
public void doStuffwiththing();
}
}
I want to deserialize B.thingUser but it fails! How do I
get round this?
TIA
Mark