0

I'm looking for the counterpart of this T-SQL query:

SELECT        * 
FROM          dbo.HSE_FOOD_INSPECTIONS i 
INNER JOIN    dbo.HSE_TYPE_OF_FOODS t
ON            i.HSTOF_TYPE_OF_FOOD_ID=t.TYPE_OF_FOOD_ID

The expected result type should be IEnumerable<HseFoodInspection>.

Alexander Schmidt
  • 5,296
  • 4
  • 36
  • 72
Mohammad Naghsh
  • 157
  • 1
  • 9
  • 1
    Check this out https://www.tutorialsteacher.com/linq/linq-joining-operator-join or this https://stackoverflow.com/questions/37324/what-is-the-syntax-for-an-inner-join-in-linq-to-sql – MC LinkTimeError Feb 06 '22 at 08:30

0 Answers0