public override void LoadFromXml(XmlElement xml) { base.LoadFromXml(xml); m_format = (IBackupFormat)BackupFormatAddonType.Instance.LoadAddon(xml.FindElement("Format")); m_members = new DatabaseStructureMembers(); m_members.LoadFromXml_ForJob(xml.FindElement("Members")); m_src = (IDatabaseSource)DatabaseSourceAddonType.Instance.LoadAddon(xml.FindElement("Source")); }
public void LoadFromXml(XmlElement xml) { CopyMembers = new DatabaseStructureMembers(); CopyMembers.LoadFromXml_ForJob(xml.FindElement("Members")); TableOptions = new TableCopyOptions(); TableOptions.LoadFromXml(xml.FindElement("TableOptions")); foreach (XmlElement tbl in xml.SelectNodes("DataCopyTables/Table")) { DataCopyTables.Add(NameWithSchema.LoadFromXml(tbl)); } this.LoadPropertiesCore(xml); }