I am following the http://wiki.fluentnhibernate.org/Getting_started tutorial to create my first NHibernate project with Fluent NHibernate
I have 2 tables
1)
The following apparently no longer works https://stackoverflow.com/a/503327/189412
How about just doing this:
public AgencyMap() { Id(o => o.Id); Map(o => o.AccountHolderName); Map(o => o.AccountType).CustomType(); }
The custom type handles everything :)