How can I write below sql query in linq
select * from Product where ProductTypePartyID IN ( select Id from ProductTypeParty where PartyId = 34 ) <
select * from Product where ProductTypePartyID IN ( select Id from ProductTypeParty where PartyId = 34 )
Something similar to this
var partyProducts = from p in dbo.Product join pt in dbo.ProductTypeParty on p.ProductTypePartyID equal pt.PartyId where pt.PartyId = 34 select p