Dear All ,

Hope everyone is fine. I have little question. We use this query normally in MSSQL
select * from emp where empid in (1,2,3,4)
How to write this query in lambda expression. Is there any way to perfrom above mentioned operation ?

Best Regards

In what programming language do you need your lambda? In .NET languages Contains() is an option, assuming you create an array for your ID's.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.