We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beed578 commit 1918f1fCopy full SHA for 1918f1f
1 file changed
README.md
@@ -637,7 +637,7 @@ var user = await _uow
637
638
```
639
public sealed class ActiveUsersCountSpec
640
- : IResultSpecification<User, int>
+ : ISpecification<User, int>
641
{
642
public Expression<Func<User, bool>>? Criteria => u => u.IsActive;
643
public IList<Expression<Func<User, object>>>? IncludeProperties => null;
@@ -662,7 +662,7 @@ var count = await uow.Repository<User>().EvaluateAsync(new ActiveUsersCountSpec(
662
**DTO projection**
663
664
public sealed class UserSummarySpec
665
- : IResultSpecification<User, UserSummaryDto>
+ : ISpecification<User, UserSummaryDto>
666
667
public Func<IQueryable<User>, IQueryable<UserSummaryDto>> Projection =>
668
q => q.Select(u => new UserSummaryDto(u.Id, u.Name));
0 commit comments