Fluent nHibernate, Hi-Lo table with entity-per-row using a convention
===

Is there a way to specify a table to use for Hi-Lo values, with each entity having a per-row entry, via a convention (while still having nHibernate create the table structure for you)? I would like to replicate what Phil Haydon blogged about [here][1], but without having to manually manage the table. As it stands, migrating his row-per-table code to its own convention will work only if you've already created the appropriate entries for 'TableKey' in the table already.

Alternatively, is this possible via the XML mappings?

And if all else fails, is the only other appropriate option to use a custom generator, a la [this post][2]?

  [1]: http://www.philliphaydon.com/2010/10/using-hilo-with-fluentnhibernate/
  [2]: http://daniel.wertheim.se/2011/03/08/nhibernate-custom-id-generator/