public XElement CreateXml() { return(new XElement("Database", new XAttribute(XmlTools.Version, "xml_1.0"), _collection.Select(m => m.CreateXML()))); }