title: NHibernate: CreateCriteria and Exists clause
body: <p>How can I write the following SQL using CreateCriteria:</p>
  
  <pre><code>SELECT * FROM FooBar fb
  WHERE EXISTS (SELECT FooBarId FROM Baz b WHERE b.FooBarId = fb.Id)
  </code></pre>