예제 #1
0
 public override void SaveToXml(XmlElement xml)
 {
     base.SaveToXml(xml);
     if (m_table != null)
     {
         m_table.SaveToXml(xml.AddChild("Table"));
     }
 }
예제 #2
0
 public void SaveToXml(XmlElement xml)
 {
     TableName.SaveToXml(xml.AddChild("Table"));
     foreach (string col in SourceColumns)
     {
         xml.AddChild("SourceColumn").InnerText = col;
     }
     foreach (string col in ReferenceColumns)
     {
         xml.AddChild("ReferenceColumn").InnerText = col;
     }
 }