- 2025年06月06日
- 星期五

我怎样才能在 linq中编写下面的sql查询 select * from Product where ProductTypePartyID IN( select Id from ProductTypeParty where PartyId = 34) 除了语法变化之外,您可以用几乎相同的方式编写它. from p in ctx.Productwhere (from ptp in ct
我怎样才能在 linq中编写下面的sql查询 select * from Product where ProductTypePartyID IN( select Id from ProductTypeParty where PartyId = 34) 除了语法变化之外,您可以用几乎相同的方式编写它. from p in ctx.Productwhere (from ptp in ct