I read the tutorial
http://wiki.fluentnhibernate.org/Auto_mapping#Getting_started
but I couldn’t undersatnd how the tables are accessed?
I don’t give any naming convenstion, so how is the mapping done?
In hbm.xml, there is a declaration:
<class name="Cat" table="Cat">
but in fluent there is not.
If you’re using ClassMap, use the Table declaration:
If you’re using AutoMapping, see the documentation at http://wiki.fluentnhibernate.org/Auto_mapping for how to set up Overrides