internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, HfId.DBExport(), EntityId.DBExport(), SiteId.DBExport(), SkillAtTime, ItemType.DBExport(Item.ItemTypes), ItemSubType.DBExport(Item.ItemSubTypes), Mat.DBExport(Item.Materials), ImprovementType.DBExport(ImprovementTypes), //ImprovementSubType.DBExport(), //TODO: Uncomment this ImprovementMat.DBExport(Item.Materials), ArtId.DBExport(), ArtSubId.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { //TODO: Incorporate new data base.Export(table); table = GetType().Name; var vals = new List <object> { Id, SiteId.DBExport(), SubregionId.DBExport(), FeatureLayerId.DBExport(), Coords.DBExport(), EntityId_Abuser.DBExport(), BodyHfiDs.DBExport(), ItemType.DBExport(Item.ItemTypes), ItemSubType.DBExport(Item.ItemSubTypes), ItemMat.DBExport(Item.Materials), HfId.DBExport(), AbuseType.DBExport() }; Database.ExportWorldItem(table, vals); }
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); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, HfId.DBExport(), HfId_Slayer.DBExport(), SlayerRace.DBExport(), SlayerCaste.DBExport(HistoricalFigure.Castes), ArtifiactId_SlayerItem.DBExport(), ArtifactId_SlayerShooterItem.DBExport(), Cause.DBExport(Causes), SiteId.DBExport(), SubregionId.DBExport(), FeatureLayerId.DBExport(), ItemID.DBExport(), ArtifactId.DBExport(), ItemType.DBExport(Item.ItemTypes), ItemSubType.DBExport(Item.ItemSubTypes), Mat.DBExport(Item.Materials), BowItem.DBExport(), BowArtifactId.DBExport(), BowItemType.DBExport(Item.ItemTypes), BowItemSubType.DBExport(Item.ItemSubTypes), BowMat.DBExport(Item.Materials) }; Database.ExportWorldItem(table, vals); }
internal List <object> GetExportVals() { return(new List <object> { Id, SiteId.DBExport(), HfId.DBExport(), Reason.DBExport(Reasons), ReasonId.DBExport(), Circumstance.DBExport(Circumstances), CircumstanceId.DBExport(), FormId.DBExport() }); }
internal void Export(int hfid) { var table = "Entity_" + GetType().Name; var vals = new List <object> { ThisEntity.Id, LinkType.DBExport(LinkTypes), SiteId.DBExport(), LinkStrength.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, EntityId_Source.DBExport(), EntityId_Destination.DBExport(), SiteId.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, SiteId.DBExport(), EntityId_Contactor.DBExport(), EntityId_Contacted.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, Hfid.DBExport(), SiteId.DBExport(), Method.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, SiteId.DBExport(), HfId.DBExport(), EntityId.DBExport(), StructureId.DBExport(), LinkType.DBExport(HFSiteLink.LinkTypes) }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, HfId.DBExport(), EntityId.DBExport(), SiteId.DBExport(), SkillAtTime }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, EntityId.DBExport(), SiteId.DBExport(), SubregionId.DBExport(), FeatureLayerId.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, SiteId.DBExport(), EntityId_SiteCiv.DBExport(), EntityId_Defender.DBExport(), EntityId_NewSiteCiv.DBExport(), EntityId_Attacker.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, HfId_Target.DBExport(), HfId_Doer.DBExport(), Interaction.DBExport(HistoricalFigure.Interactions), SiteId.DBExport(), Subregion.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, SiteId.DBExport(), EntityId_SiteCiv.DBExport(), EntityId_Civ.DBExport(), StructureId_Old.DBExport(), StructureId_New.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, ArtifactId.DBExport(), UnitId.DBExport(), SiteId.DBExport(), HfId.DBExport(), NameOnly }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, EntityId.DBExport(), SiteId.DBExport(), RaceId.DBExport(), PopNumberMoved.DBExport(), RegionId.DBExport(), PopFlid.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, HfId.DBExport(), Situation.DBExport(Situations), Reason.DBExport(Reasons), SiteId.DBExport(), SubregionId.DBExport(), FeatureLayerId.DBExport(), Coords.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, HfId_Woundee.DBExport(), HfId_Wounder.DBExport(), SiteId.DBExport(), SubregionId.DBExport(), FeatureLayerId.DBExport(), BodyPart.DBExport(), InjuryType.DBExport(), PartLost.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, SiteId.DBExport(), SubregionId.DBExport(), FeatureLayerId.DBExport(), HfId_Devourer.DBExport(), HfId_Victim.DBExport(), VictimRace.DBExport(), VictimCaste.DBExport(HistoricalFigure.Castes), EntityId.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, SiteId.DBExport(), SubregionId.DBExport(), FeatureLayerId.DBExport(), HfId_Seeker.DBExport(), HfId_Target.DBExport(), RelationshipString.DBExport(RelationshipStrings), Reason.DBExport(Reasons), ReasonId.DBExport() }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, HfId.DBExport(), EntityId.DBExport(), SiteId.DBExport(), SkillAtTime, ItemID.DBExport(), ItemType.DBExport(Item.ItemTypes), ItemSubType.DBExport(Item.ItemSubTypes), Mat.DBExport(Item.Materials) }; Database.ExportWorldItem(table, vals); }
internal override void Export(string table) { base.Export(table); table = GetType().Name; var vals = new List <object> { Id, EntityId_Attacker.DBExport(), EntityId_Defender.DBExport(), SiteId.DBExport(), Coords.DBExport(), ItemID.DBExport(), ItemType.DBExport(Item.ItemTypes), ItemSubType.DBExport(Item.ItemSubTypes), Mat.DBExport(Item.Materials), EntityId.DBExport(), Hfid.DBExport(), StructureId.DBExport() }; Database.ExportWorldItem(table, vals); }