Beispiel #1
0
        internal override string ToTimelineString()
        {
            //TODO: Incorporate new data
            var timelinestring = base.ToTimelineString();

            return
                ($"{timelinestring} {Hf_Woundee?.ToString() ?? HfId_Woundee.ToString()} was wounded by the {Hf_Wounder?.ToString() ?? HfId_Wounder.ToString()}.");
        }
Beispiel #2
0
        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);
        }