title: How to Convert LINQ Comprehension Query Syntax to Method Syntax using Lambda
body: <p>Is there a tool, process or a solution that will convert the following LINQ Query Syntax to Method Syntax with Lambdas (dot notation)? I would expect the solution to convert the following Query Syntax to a Method Syntax such as this.</p>
  
  <pre><code>var filteredEmployees = 
      from employee in allEmployees
      where employee.DepartmentID &lt; 4 &amp;&amp; employee.EmployeeID &lt; 10
      orderby employee.DepartmentID descending,
              employee.LastName descending
      select employee;
  </code></pre>
  
  <p>To the following</p>
  
  <pre><code>var filteredEmployees2 = allEmployees.Where(employee =&gt; ((employee.DepartmentID &lt; 4) &amp;&amp; (employee.EmployeeID &lt; 10)))
          .OrderByDescending(employee =&gt; employee.DepartmentID)
          .ThenByDescending(employee =&gt; employee.LastName);
  </code></pre>
  
  <p>I'm would like to use this to learn Method Syntax better.</p>