forum

Home / DeveloperSection / Forums / How to work with OR condition using lamda expression

How to work with OR condition using lamda expression

Sushant Mishra 1539 14-Jul-2017

How to work with OR condition using lamda expression

I am using this code 

model = model.Where((x => x.ParentId == true )||(x => x.ParentName == true))

Its not working it shows error that operator || cannot be applied to operands of type lambda expression and lamda expression

 


Updated on 14-Jul-2017

Can you answer this question?


Answer

1 Answers

Liked By