title: Nhibernate HQL where IN query
body: <p>Im trying to return a SimpleQuery list that queries a single table and uses IN.
  I can get this to work using</p>
  
  <pre><code>return new List&lt;Jobs&gt;(
      ActiveRecordMediator&lt;Jobs&gt;.FindAll(Expression.In("ServiceId", ids))
  );
  </code></pre>
  
  <p>However this is really really really slow. So id like to do something like this</p>
  
  <pre><code>SimpleQuery&lt;Job&gt; query = 
      new SimpleQuery&lt;Job&gt;(@"from Job as j where ? in (j.ServiceId)", ids);
  
  return new List&lt;Job&gt;(query.Execute());
  </code></pre>
  
  <p>However I cant get the SimpleQuery to work. I cant find any documentation covering this and was hoping someone out there would be able to help.</p>
  
  <p>Thanks</p>