case 4341

This commit is contained in:
2022-12-13 22:49:47 +00:00
parent 722b968aa5
commit 3abe0c0379
6 changed files with 16 additions and 7 deletions

View File

@@ -174,7 +174,7 @@ namespace AyaNova.Biz
//https://docs.microsoft.com/en-us/ef/core/querying/related-data
//docs say this will not query twice but will recognize the duplicate woitem bit which is required for multiple grandchild collections
return await ct.Quote.AsSplitQuery().AsNoTracking()
.Include(s => s.States.OrderBy(item=> item.Id))
.Include(s => s.States.OrderBy(item => item.Id))
.Include(w => w.Items.OrderBy(item => item.Sequence))
.ThenInclude(wi => wi.Expenses)
.Include(w => w.Items)
@@ -461,6 +461,7 @@ namespace AyaNova.Biz
newObj.City = cust.City;
newObj.Region = cust.Region;
newObj.Country = cust.Country;
newObj.AddressPostal = cust.AddressPostal;
newObj.Latitude = cust.Latitude;
newObj.Longitude = cust.Longitude;