Browse Source
Ardalis/cleanup (#75)
* Replace Magic String with nameof
* Remove commented code
main
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
0 additions and
1 deletions
-
src/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs
|
|
@ -8,7 +8,6 @@ namespace ApplicationCore.Specifications |
|
|
: base(o => o.BuyerId == buyerId) |
|
|
: base(o => o.BuyerId == buyerId) |
|
|
{ |
|
|
{ |
|
|
AddInclude(o => o.OrderItems); |
|
|
AddInclude(o => o.OrderItems); |
|
|
//AddInclude("OrderItems.ItemOrdered");
|
|
|
|
|
|
AddInclude($"{nameof(Order.OrderItems)}.{nameof(OrderItem.ItemOrdered)}"); |
|
|
AddInclude($"{nameof(Order.OrderItems)}.{nameof(OrderItem.ItemOrdered)}"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|