internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <string, XmlElement> processed) { base.SetXML(xml, host, processed); xml.AppendChild(RelatingReference.GetXML(xml.OwnerDocument, "RelatingReference", this, processed)); XmlElement element = xml.OwnerDocument.CreateElement("RelatedResourceObjects", mDatabase.mXmlNamespace); xml.AppendChild(element); foreach (BaseClassIfc related in RelatedResourceObjects) { element.AppendChild(related.GetXML(xml.OwnerDocument, "", this, processed)); } }
internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed) { base.SetXML(xml, host, processed); xml.AppendChild(RelatingReference.GetXML(xml.OwnerDocument, "RelatingReference", this, processed)); }