views:

46

answers:

1

Possible Duplicate:
adding an nHibernate mapping at run time?

All of the NHibernate examples I've see that use hbm files have the hbm.xml file set as an embedded resource with "do not copy" chosen in the file properties. This means that if a database column name were to change in production, the app would have to be recompiled with the changes in the hbm.xml file during build time.

Is there any way to make NHibernate load the hbm.xml files from the file system at application startup instead of using an embedded version?