title: Fluent NHibernate — class/entity specific next_hi seeds when using HiLo generator
body: <p>Basically I'm trying to do the same thing as <a href="https://stackoverflow.com/questions/1345754/nhibernate-hilo-new-column-per-entity-and-hilo-catches">this question</a> but with Fluent NHibernate.  </p>
  
  <p>Here is my id generation convention:</p>
  
  <pre><code>    public class IdGenerationConvention : IIdConvention
      {
              public void Apply(IIdentityInstance instance)
              {
                      instance.GeneratedBy.HiLo("1000");
              }
      }
  </code></pre>
  
  <p>Now this works great, but all classes end up using the same <code>next_hi</code>.  </p>
  
  <pre><code>    create table hibernate_unique_key (
              next_hi INTEGER 
      )
  </code></pre>
  
  <p>Does anyone know how to specify that each class should use it's own <code>next_hi</code>?</p>
  
  <p>To clarify, I'd like to end up with something like <code>customer_next_hi</code> and <code>order_next_hi</code>, assuming it works based on columns.  If it's row based then that's fine too, provided each entity knows which row to use for it's <code>next_hi</code> value.</p>