title: Specify eager loading within Fluent NHibernate Mapping
body: <p>How can I specify eager loading on a one to many collection within a Fluent NHibernate mapping?</p>
  
  <p>I tried the following but I'm still getting two queries when retrieving the parent object and accessing it's "Features" property:</p>
  
  <pre><code>            HasMany&lt;FeatureInstance&gt;(s =&gt; s.Features).AsSet()
              .Inverse()
              .Cascade.SaveUpdate()
              .KeyColumn("SiteId")
              .Access.ReadOnlyPropertyThroughCamelCaseField()
              .Not.LazyLoad();
  </code></pre>
  
  <p>Thanks
  Ben</p>