Skip to content

Commit

Permalink
Rename "country" (#31806)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajcvickers committed Sep 19, 2023
1 parent b692f5d commit 20c1795
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmark/EFCore.Benchmarks/Models/Orders/Customer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Customer
public string City { get; set; }
public string StateOrProvince { get; set; }
public string ZipOrPostalCode { get; set; }
public string Country { get; set; }
public string County { get; set; }

public ICollection<Order> Orders { get; set; }
}
2 changes: 1 addition & 1 deletion benchmark/EFCore.Benchmarks/Models/Orders/Order.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class Order
public string City { get; set; }
public string StateOrProvince { get; set; }
public string ZipOrPostalCode { get; set; }
public string Country { get; set; }
public string County { get; set; }

public int CustomerId { get; set; }
public Customer Customer { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public virtual List<Customer> CreateCustomers(int customerCount, bool setPrimary
City = "Sampleville",
StateOrProvince = "SMP",
ZipOrPostalCode = "00000",
Country = "United States"
County = "United States"
});
}

Expand Down Expand Up @@ -83,7 +83,7 @@ public virtual List<Order> CreateOrders(List<Customer> customers, int ordersPerC
City = "Sampleville",
StateOrProvince = "SMP",
ZipOrPostalCode = "00000",
Country = "United States"
County = "United States"
});
}
}
Expand Down

0 comments on commit 20c1795

Please sign in to comment.