diff --git a/src/QuerySpecification.EntityFrameworkCore/Extensions/LikeExtension.cs b/src/QuerySpecification.EntityFrameworkCore/Extensions/LikeExtension.cs index 0a45cc6..06bade7 100644 --- a/src/QuerySpecification.EntityFrameworkCore/Extensions/LikeExtension.cs +++ b/src/QuerySpecification.EntityFrameworkCore/Extensions/LikeExtension.cs @@ -38,7 +38,9 @@ public static IQueryable Like(this IQueryable source, IEnumerableEntityFrameworkCore plugin to Pozitron.QuerySpecification containing EF evaluators. EntityFrameworkCore plugin to Pozitron.QuerySpecification containing EF evaluators. - 10.1.0 + 10.2.0 fiseni pozitron query specification efcore + v10.2.0 + - Added ability to override the specification validator and in-memory evaluator. + - Performance improvements for in-memory Like. + - Refactored repositories + - Removed projection methods from RepositoryBase and IReadRepositoryBase + - Added IProjectionRepository contract defining the ProjectTo APIs. + - Added RepositoryWithMapper. It inherits RepositoryBase and implements IProjectionRepository. + v10.1.0 - Publish a separate symbol package (snupkg). - Added ToPagedResult extensions. diff --git a/src/QuerySpecification/QuerySpecification.csproj b/src/QuerySpecification/QuerySpecification.csproj index 86a0a75..5463f64 100644 --- a/src/QuerySpecification/QuerySpecification.csproj +++ b/src/QuerySpecification/QuerySpecification.csproj @@ -7,9 +7,17 @@ Abstract package for building query specifications. Abstract package for building query specifications. - 10.1.0 + 10.2.0 fiseni pozitron query specification + v10.2.0 + - Added ability to override the specification validator and in-memory evaluator. + - Performance improvements for in-memory Like. + - Refactored repositories + - Removed projection methods from RepositoryBase and IReadRepositoryBase + - Added IProjectionRepository contract defining the ProjectTo APIs. + - Added RepositoryWithMapper. It inherits RepositoryBase and implements IProjectionRepository. + v10.1.0 - Publish a separate symbol package (snupkg). - Added ToPagedResult extensions. diff --git a/src/QuerySpecification/Validators/SpecificationValidator.cs b/src/QuerySpecification/Validators/SpecificationValidator.cs index 7ff9de4..d01bdd5 100644 --- a/src/QuerySpecification/Validators/SpecificationValidator.cs +++ b/src/QuerySpecification/Validators/SpecificationValidator.cs @@ -23,7 +23,8 @@ public virtual bool IsValid(T entity, Specification specification) { foreach (var partialValidator in Validators) { - if (partialValidator.IsValid(entity, specification) == false) return false; + if (partialValidator.IsValid(entity, specification) == false) + return false; } return true; diff --git a/src/QuerySpecification/Validators/WhereValidator.cs b/src/QuerySpecification/Validators/WhereValidator.cs index 2f6ca60..3fb5596 100644 --- a/src/QuerySpecification/Validators/WhereValidator.cs +++ b/src/QuerySpecification/Validators/WhereValidator.cs @@ -9,7 +9,8 @@ public bool IsValid(T entity, Specification specification) { foreach (var whereExpression in specification.WhereExpressions) { - if (whereExpression.FilterFunc(entity) == false) return false; + if (whereExpression.FilterFunc(entity) == false) + return false; } return true;