Quantcast
Channel: URF - Unit of Work & (extensible/generic) Repositories Framework
Viewing all articles
Browse latest Browse all 1539

Commented Unassigned: There is an error in the method SelectPage of class QueryFluent [1208]

$
0
0
Method SelectPage belonging to class QueryFluent must be corrected

```
public IEnumerable<TEntity> SelectPage(int page, int pageSize, out int totalCount)
{
totalCount = _repository.Select(_expression).Count();
return _repository.Select(_expression, _orderBy, _includes, page, page);
}
```

to:
```
public IEnumerable<TEntity> SelectPage(int page, int pageSize, out int totalCount)
{
totalCount = _repository.Select(_expression).Count();
return _repository.Select(_expression, _orderBy, _includes, page, pageSize);
}
```
Comments: Committed.

Viewing all articles
Browse latest Browse all 1539

Trending Articles