1
Reply

convert SQL to LINQ query

Ask a question
i want to convert this query into LINQ
  1. Select D.ID as ID, D.OName,  
  2. (Select Count(*) from tblve WHERE MID = D.ID and Vme <> ''),  
  3. D.Mil,D.Speed  
  4. from tblRe M  
  5. inner join tblReg D  
  6. On M.RID = D.RID  
main problem is subquery
 

Answers (1)