Set property with reflection after Fluent Nhibernates automapping has occured?
Posted
by Marcus
on Stack Overflow
See other posts from Stack Overflow
or by Marcus
Published on 2010-05-31T16:50:02Z
Indexed on
2010/05/31
16:53 UTC
Read the original article
Hit count: 261
c#
|fluent-nhibernate
I have an abstract baseclass with a collection of details IList that is automapped with fnh. After it has been populated with the correct values i would like to set some properties with reflection on the my class that inherits the abstract baseclass. I have tried to accomplish this in the constructor of my abstract baseclass but obviously my Details collection is empty when the occurs so my question is, what is the recommended way of doing this?
© Stack Overflow or respective owner