 like this: [DataContract(Name = "baseClass")] public class baseClass { }  [DataContract(Name = "busObj0")] public class busObj0 : baseClass { }  [DataContract(Name = "busObj0")] [KnownType(typeof(busObj0))] public class busObj0 : baseClass {     public busObj0 myObj { get; set; } }  