title: LINQ: Dot Notation vs Query Expression
body: <p>I am beginning to use LINQ in general (so far toXML and toSQL). I've seen that sometimes there are two or more ways to achieve the same results. Take this simple example, as far as I understand both return exactly the same thing:</p>
  
  <pre><code>SomeDataContext dc = new SomeDataContext();
  
  var queue = from q in dc.SomeTable
          where q.SomeDate &lt;= DateTime.Now &amp;&amp; q.Locked != true
          orderby (q.Priority, q.TimeCreated)
          select q;
  
  var queue2 = dc.SomeTable
          .Where( q =&gt; q.SomeDate &lt;= DateTime.Now &amp;&amp; q.Locked != true )
          .OrderBy(q =&gt; q.Priority)
          .ThenBy(q =&gt; q.TimeCreated);
  </code></pre>
  
  <p>The idea is that there are two ways to express the same thing; I understand that the first method has some limitations and that the "dot notation" is more complete, but besides that, are there any other advantages?</p>