internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, HfIds.DBExport(), SiteId.DBExport(), SubregionId.DBExport(), FeatureLayerId.DBExport(), Coords.DBExport() }; if (Pets != null) { var petExport = Pets.Aggregate("", (current, petRace) => current + (petRace.ToString() + ",")); petExport = petExport.TrimEnd(','); vals.Add(petExport); } else { vals.Add(DBNull.Value); } Database.ExportWorldItem(table, vals); }