Join/Where with LINQ and Lambda

I find that if you’re familiar with SQL syntax, using the LINQ query syntax is much clearer, more natural, and makes it easier to spot errors: If you’re really stuck on using lambdas though, your syntax is quite a bit off. Here’s the same query, using the LINQ extension methods:

SQL Inner-join with 3 tables?

You can do the following (I guessed on table fields,etc) Based on your request for multiple halls you could do it this way. You just join on your Hall table multiple times for each room pref id:

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)