Browse Source

Ardalis/cleanup (#75)

* Replace Magic String with nameof

* Remove commented code
main
Steve Smith 8 years ago
committed by GitHub
parent
commit
c276b11ca0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs

1
src/ApplicationCore/Specifications/CustomerOrdersWithItemsSpecification.cs

@ -8,7 +8,6 @@ namespace ApplicationCore.Specifications
: base(o => o.BuyerId == buyerId)
{
AddInclude(o => o.OrderItems);
//AddInclude("OrderItems.ItemOrdered");
AddInclude($"{nameof(Order.OrderItems)}.{nameof(OrderItem.ItemOrdered)}");
}
}

Loading…
Cancel
Save