I just started learning NHibernate this week and would like to use the Automapping approach for my current project.
I am working with Fluent NHibernate 1.0.0.594, which I downloaded a few days ago.
I found Example.FirstProject in NHibernate source code that uses an older style entity mapping. It was extremely valuable to me as an introduction to NHibernate, because it works right out of the box.
However, I could not find a similar working example for AutoMapping. Peter Bromberg posted a sample that looks good, but some important builds seem to be missing. He helped me solve problems, but so far itβs not working.
Then I tried to modify the Example.FirstProject program to use Automapping, but immediately ran into problems with exceptions that I simply did not understand at my current level of experience.
Can someone point me to a sample Automapping project that is known to work with the latest NHibernate code?
fluent- nhibernate-mapping
Tom bushell
source share