/// <summary> /// Deserialises the version history from the specified xml element. /// </summary> internal static void Deserialise(DomainTable table, XmlNode parentNode) { foreach (XmlNode xmlNode in parentNode.SelectNodes("constraint")) { DomainTableConstraint result = table.CreateConstraint(); result.Deserialise(xmlNode); DomainTableConstraintColumn.Deserialise(result, xmlNode); } }
/// <summary> /// Deserialises the version history from the specified xml element. /// </summary> internal static void Deserialise(Domain domain, XmlNode parentNode) { foreach (XmlNode xmlNode in parentNode.SelectNodes("table")) { DomainTable result = domain.CreateTable(); result.Deserialise(xmlNode); DomainTableColumn.Deserialise(result, xmlNode); DomainTableIndex.Deserialise(result, xmlNode); DomainTableConstraint.Deserialise(result, xmlNode); } }