Hi ,
I not able to write this sql query in LINQ C# . I want this query in c# linq pl zz z reply
select distinct [someclomn1] from table1 where [someclomn1] NOT IN (SELECT someclomn2 FROM table2)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Annad KumarPosted Nov 23, 2015, 8:54 AM
HarpreetPosted Nov 4, 2015, 3:30 AM
HarpreetPosted Nov 4, 2015, 3:15 AM
Upendra Pratap ShahiPosted Nov 3, 2015, 4:02 AM
HarpreetPosted Nov 3, 2015, 3:41 AM
Jignesh TrivediPosted Nov 2, 2015, 11:17 PM
Ravi PatelPosted Nov 2, 2015, 7:16 AM
where
!
(from n in db.table2
select new {
n.someclomn2
}).Contains(new { someclomn1 = ()m.someclomn1 })
select new {
m.someclomn1
}).Distinct()
HarpreetPosted Nov 2, 2015, 5:58 AM
Nishant MittalPosted Nov 2, 2015, 5:42 AM
Nishant MittalPosted Nov 2, 2015, 5:35 AM
HarpreetPosted Nov 2, 2015, 4:53 AM