How to write linq which produce below sql syntax.
HTML Code:
1.select * from tbl1 where tbl1.id in (select id from tbl2)
2.select * from tbl1 where tbl1.in like (1,2,3,4)
Thank you.