case 4244
This commit is contained in:
@@ -174,7 +174,7 @@ namespace AyaNova.Biz
|
|||||||
//https://docs.microsoft.com/en-us/ef/core/querying/related-data
|
//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
|
//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()
|
return await ct.Quote.AsSplitQuery().AsNoTracking()
|
||||||
.Include(s => s.States)
|
.Include(s => s.States.OrderBy(item=> item.Id))
|
||||||
.Include(w => w.Items.OrderBy(item => item.Sequence))
|
.Include(w => w.Items.OrderBy(item => item.Sequence))
|
||||||
.ThenInclude(wi => wi.Expenses)
|
.ThenInclude(wi => wi.Expenses)
|
||||||
.Include(w => w.Items)
|
.Include(w => w.Items)
|
||||||
|
|||||||
Reference in New Issue
Block a user