How does Fluent NHibernate manage to get a reference to a property using that weird delegates?
Posted
by André Pena
on Stack Overflow
See other posts from Stack Overflow
or by André Pena
Published on 2010-03-21T10:34:34Z
Indexed on
2010/03/21
10:41 UTC
Read the original article
Hit count: 232
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?
© Stack Overflow or respective owner