title: nhibernate criteria - table name has double quotes
body: <p>I am using Fluent NHibernate in my application.
  I have a criteria query that looks like this - </p>
  
  <pre><code>var query = DetachedCriteria
                  .For&lt;table2&gt;()
                  .SetProjection(Projections.Distinct(Projections.Property("id")))
                  //.Add(Restrictions.Between("date_field", startDate, endDate))
                  .Add(Restrictions.Eq("id", 204010));
  
              Add(Subqueries.In("id", query));
  </code></pre>
  
  <p>This errors out with the error - </p>
  
  <pre><code>NHibernate.ADOException was unhandled
  Message=could not execute query
  </code></pre>
  
  <p>I looked at the query and tried to run it, but it also errored out.  I then noticed that in the subquery, the table name for table2 is in quotes.  I removed these quotes and the query ran fine.
  Does anyone know how I can get rid of the quotes in my criteria?</p>
  
  <p>thanks for any thoughts</p>