Steve Smith
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
src/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs
|
|
|
@ -8,7 +8,8 @@ namespace ApplicationCore.Specifications |
|
|
|
: base(o => o.BuyerId == buyerId) |
|
|
|
{ |
|
|
|
AddInclude(o => o.OrderItems); |
|
|
|
AddInclude("OrderItems.ItemOrdered"); |
|
|
|
//AddInclude("OrderItems.ItemOrdered");
|
|
|
|
AddInclude($"{nameof(Order.OrderItems)}.{nameof(OrderItem.ItemOrdered)}"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|