Finish Owner Relationship, update races and add first helpers for derived values. Update naming

This commit is contained in:
2024-08-18 19:21:18 +02:00
parent 15b252248a
commit aff9d23841
6 changed files with 115 additions and 30 deletions

View File

@ -240,7 +240,7 @@ public class Planet
if (dbPlanet.Name != Name)
throw new InvalidOperationException($"DB Planet Name {dbPlanet.Name} does not macth the CSV Planet Name {Name}");
dbPlanet.Owner = Owner;
dbPlanet.OwnerId = Owner != "" ? Owner : null;
dbPlanet.StarbaseType = StarbaseType;
dbPlanet.ReportAge = ReportAge;
dbPlanet.Population = Population;