private static DataMicroBiology LoadFromXmlVer1(XmlNode root, DataBase par, ReceptVersion curVer) { DataMicroBiology ret = new DataMicroBiology(par); ret.BeginUpdate(); ret.Id = int.Parse(root.Attributes["id"].Value, CultureInfo.CurrentCulture); foreach (XmlNode curNode in root.ChildNodes) { switch (curNode.Name) { case "name": ret.Name = curNode.InnerText; break; case "comment": ret.Comment = curNode.InnerText; break; case "items": foreach (XmlNode itemNode in curNode.ChildNodes) { ret.Components.Add(DataMicroBiologyIndicator.LoadFromXml(itemNode, ret, curVer)); } break; } } ret.EndUpdate(false); ret.IsChanged = false; return(ret); }
internal DataMicroBiology FindMicroBiologyIndicator(DataMicroBiologyIndicator curRec) { throw new NotImplementedException(); }
internal void AddMicroBiologyIndicatorStruct(DataMicroBiologyIndicator curRec) { throw new NotImplementedException(); }