title: Must I use Eager loading if the session is disposed of?
body: <p>Please see the code below:</p>
  
  <pre><code>public Enquiry GetByID(Guid personID)
  {
      using (IUnitOfWork&lt;ISession&gt; unitOfWork = UnitOfWorkFactory.Create())
      {
          IRepository repository = RepostioryFactory.Create(unitOfWork);
          var Person = repository.GetById(personID);
          return Person;
      }
  }
  </code></pre>
  
  <p>It is contained in an application service layer.  Person is passed back to the Controller and loaded into a view.  The view then errors because it cannot load Person.Collection (a list).</p>
  
  <p>I believe this is because the collection is loaded using lazy loading and the unit of work and NHibernate session is closed once the view is reached.  Must I use eager loading in this situation or am I misunderstanding something? </p>