"are you aware of the mapping element in hibernate.cfg.xml"
I did not know, so I went and did some research:
http://www.hibernate.org/hib_docs/nhibe ... start.html
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- Add this element -->
<configSections>
<section
name="hibernate-configuration"
type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate"
/>
</configSections>
<!-- Add this element -->
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.0">
<session-factory>
<property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property>
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.connection_string">Server=(local);initial catalog=quickstart;Integrated Security=SSPI</property>
<mapping assembly="QuickStart" />
</session-factory>
</hibernate-configuration>
<!-- Leave the system.web section unchanged -->
<system.web>
...
</system.web>
</configuration>
Once I setup my config as above, I was able to call the cfg.Configure()
the main key is the mapping assembly above.
Thanks for the tip to help find this and I hope if others come here they can see this as well (assuming it's correct, I am new)
Thanks!