I have a problem:
public class TDocumentation
{
public XmlElement Summary { get; set; }
public XmlElement LongDescription { get; set; }
public XmlAttribute[] AnyAttr { get; set; }
}
…and:
public class ProxieTDocumentation
{
public XmlElement Summary { get; set; }
......
}
Mapper.CreateMap<Proxies.TDocumentation, TDocumentation>()
…throws:
—-> System.ArgumentException : Type “System.Xml.XmlElement” does not have a default constructor automapper
How I can make a mapping on another?
I resolve thie promleb: