Issue 237 register at James' request. (genuine issue)

On Jul 20, 3:08 pm, Charles <[email protected]> wrote:
> Hei -
>
> We are successfully defining measurement classes as components, with
> nice namin (automapping).
>
> However, there are multiple properties on thecomponentclasses that I
> would have ignored.
>
> All properties get mapped, whether I attempt to use
> .ForTypesThatDeriveFrom<MeasuredWellDepthCoord>(p => p.IgnoreProperty
> (x => x.UnitQuantity))
> (thecomponentclass)
>
> or
> .ForTypesThatDeriveFrom<Wellbore>(p => p.IgnoreProperty(x =>
> x.UnitQuantity))
> (my class that references MeasuredWellDepthCoord as a property).
>
> To ignore multiple properties, I am cleaning compiling this:
> .ForTypesThatDeriveFrom<WellBore>(p =>
>                     {
>                         p.IgnoreProperty(x => x.UnitSymbol);
>                         p.IgnoreProperty(x => x.UnitQuantity);
>                         p.IgnoreProperty(x => x._uomSpecified);
>                     }
>  )
>
> But as I say, it makes no difference whether I reference the WellBore
> or MeasuredWellDepthCoord  in .ForTypesThatDeriveFrom, nor does it
> make any difference whether I attempt to ignore single or multiple
> properties.   The ForTypesThatDeriveFrom....IgnorePropertyworks well,
> except undercomponentcircumstances.
>
> Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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