conversor sql para linq online grátis
select count(*) from MandatoryDocumentToIntakeDocs
where MandatoryDocumentInStateID = 2
and IntakeDocumentTypeID in(
select IntakeDocumentTypeID from Documents where Discriminator='IntakeDocumentTypeDocument' and IntakeProcessId = 1
)
Wrong Wryneck