Did you read the wiki? How is yours any clearer than the Reveal example?

On 3/1/09, epitka <[email protected]> wrote:
>
> I don't like any of these but this might work. What do you think?
>
>   Map(x=>x.GetType().GetProperty("propertyName").Name);
> or
>
>   Map(x => x.GetType().GetProperties().Single
> (p=>p.Name=="propertyName").Name);
>
> We would loose type safety but at least we don't have to do this
> additional stuff, and spotting the problem should not be hard.
>
>
> On Mar 1, 1:48 am, "Erik Lundby" <[email protected]> wrote:
>> http://wiki.fluentnhibernate.org/show/StandardMappingPrivateProperties
>>
>> -----Original Message-----
>> From: [email protected]
>>
>> [mailto:[email protected]] On Behalf Of epitka
>> Sent: Saturday, February 28, 2009 8:49 PM
>> To: Fluent NHibernate
>> Subject: [fluent-nhib] Map private property
>>
>> Hi,
>> Is there a way to map a private property through fluent?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to