- I have a no. of records being inserted in a List<> .
- I have IQueryable returning more then one record
- I want to check whether t开发者_StackOverflowhe records IQueryable returns are present in the list or not?
is there any way in linq i can do that?
If you are talking about Union of both list of records that u can use "Union()" of "Intersect()"(if you are interested in intersection), if you are talking about Left or Right joins on these lists, the you should look at Left Join, Right Join Using LINQ
Hope this shall help.
精彩评论