大家好,任何人都可以帮我将此sql转换为linq 我想我最大的问题来自sql to linq中的不存在语句
select count(distinct(GroupID)) from ParticipantModulequestionnaire pmq
inner join ParticipantGroupMember pgm on pmq.participantid = pgm.ParticipantID
where pmq.moduleid = 46 and not exists
(select unf.participantid from ParticipantModuleQuestionnaire unf where unf.ParticipantID = pmq.ParticipantID
and unf.ModuleID = 46
and isnull(unf.completedflag,0) <> 0)
谢谢你们