How does Fluent NHibernate manage to get a reference to a property using that weird delegates?
- by André Pena
For instance, if I want to map property Title I use:
> Map(x => x.Title);
That's weird because this delegate is only returning the value of the property and not the property itself while NHibernate needs to know the property itself.
How does it work?