public override void Parse(XmlNode dom) { this.Name = dom.Attributes["Name"].Value; foreach (XmlNode n in dom.ChildNodes) { if (n.Name == "EntityTypeMapping") { var mapping = new EntityTypeMapping(); mapping.Parse(n); mapping.Parent = this; this.EntityTypeMappings.Add(mapping.TypeName, mapping); } } base.Parse(dom); }