Skip to content

Problem with case insensitive search #154

Answered by Maggus85
Maggus85 asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to solve it correct mapper should looks like

public EmployeeFilterMapper()
{
    AddMap("fullName", x => (x.LastName + " " + x.FirstName).ToLower(), x=> x.ToLower());
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Maggus85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant