Skip to content

How To Use Mapster mapper in Gridify #110

Answered by alirezanet
Mr-Mohammad asked this question in Q&A
Discussion options

You must be logged in to vote
// execute the query
 var res = query.GridifyQueryable(gridifyQuery, mapper);

 var mappedResults = ....  // Map res.Query with any mapper you want

// create the paging
    return new Paging<TDestination>(res.Count, mappedResults);

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@alirezanet
Comment options

@alirezanet
Comment options

Answer selected by Mr-Mohammad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants