internal IDatabaseSchema BuildDatabaseSchema() { DatabaseSchema ds = null; IDBDef d = _db.GetDatabaseDefinition(); ds = new DatabaseSchema(d) { Size = GetDatabaseSize(_db.Path) }; var categoryNames = _db.GetCategoryNames(); ds.Categories = GetCategoryMetadata(categoryNames).ToList(); var files = this.FormXmlFiles; return(ds); }