Implement BuCol
This commit is contained in:
		@@ -10,7 +10,7 @@ public class Planet
 | 
			
		||||
    public required string Name { get; set; }
 | 
			
		||||
 | 
			
		||||
    [Index(1)]
 | 
			
		||||
    public string? Owner { get; set; }
 | 
			
		||||
    public string Owner { get; set; } = String.Empty;
 | 
			
		||||
    
 | 
			
		||||
    [Index(2)]
 | 
			
		||||
    public string StarbaseType { get; set; } = String.Empty;
 | 
			
		||||
@@ -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.OwnerId = Owner != "" ? Owner : null;
 | 
			
		||||
        dbPlanet.OwnerId = Owner;
 | 
			
		||||
        dbPlanet.StarbaseType = StarbaseType;
 | 
			
		||||
        dbPlanet.ReportAge = ReportAge;
 | 
			
		||||
        dbPlanet.Population = Population;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user