KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Based on my question from yesterday : if I had to append to my existing 'where' expression, how would i append? Expression<Func<Client, bool>> clientWhere = c => true; if (filterByClientFName) { clientWhere = c => c.ClientFName == searchForClientFName; } if (filterByClientLName) { clientWhere = c => c.ClientLName == searchForClientLName; } The user can input either first name or last name or both. If they enter both i want to append to the expression. Trying to see if there is an equivalent of an append where i could do clientWhere.Append or clientWhere += add new expression or something similar
Tags (comma-separated)
Save Edits
Cancel