Steve Smith
7 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
0 deletions
-
src/Infrastructure/Data/SpecificationEvaluator.cs
|
|
|
@ -16,7 +16,9 @@ namespace Microsoft.eShopWeb.Infrastructure.Data |
|
|
|
|
|
|
|
// modify the IQueryable using the specification's criteria expression
|
|
|
|
if (specification.Criteria != null) |
|
|
|
{ |
|
|
|
query = query.Where(specification.Criteria); |
|
|
|
} |
|
|
|
|
|
|
|
// Includes all expression-based includes
|
|
|
|
query = specification.Includes.Aggregate(query, |
|
|
|
|