SQL do linq konwerter online za darmo
select count(*) from MandatoryDocumentToIntakeDocs
where MandatoryDocumentInStateID = 2
and IntakeDocumentTypeID in(
select IntakeDocumentTypeID from Documents where Discriminator='IntakeDocumentTypeDocument' and IntakeProcessId = 1
)
Wrong Wryneck