Skip to content
Advertisement

linq to entities query which has multiple where clause and one where clause with where in condition

I’m trying to build a linq to entities query. This is what I have so far:

I’m not sure how to do the IN part, and I’m pasting the actual sql query I’m using. How can I translate this SQL query

‘SELECT Line FROM BusSchedule WHERE NameOfTown = destination’

in Linq to Entities query?

Advertisement

Answer

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement