You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As default, SelectorFilterBase should override ApplyFilter() method, so calling ApplyFilter method will work.
[HttpGet]publicIActionResultGetBooks([FromQuery]BookFilterDtofilter){varquery=db.Books.ApplySelector(filter)// IQueryable<BookDto>.Where(x =>x.TotalSoldPrice>299.95);// If db provider supports.returnOk(query.ToList());}
Structure
FilterBase
OrderableFilterBase
PaginationFilterBase
SelectorFilterBase
TODO List
Extension methods for last user usage
SelectorFilterBase and SelectorPaginationFilterBase implementation.
Attributes
Sum
Count
Min
Max
Average
The text was updated successfully, but these errors were encountered:
Summary
This feature aims to generate an expression for
.Select()
Linq method.Declaration
See usage example for better understanding:
Usage
As default,
SelectorFilterBase
should overrideApplyFilter()
method, so calling ApplyFilter method will work.As default,
SelectorFilterBase
should overrideApplyFilter()
method, so calling ApplyFilter method will work.Structure
TODO List
The text was updated successfully, but these errors were encountered: