title: How does NHibernate know which table to save to?
body: <p>I did some research since I never used nhibernate before and I found that to save an entity to the database, I should use <code>"SaveOrUpdate()"</code> so I have the following:</p>
  
  <pre><code>Object myObject = new Object { someProperty="something" };
  using (ISession session = NHibernateSessionFactoryManager.Factory.OpenSession())
  {
      session.SaveOrUpdate(myObject);
  }
  </code></pre>
  
  <p>do I have to specify somewhere which table I'm saving to, or does NHibernate figure that out from the object type?</p>