In current Fluent NHibernate release (1.3) there's no such opportunity out 
of the box - although in next version you'll be able to extend column names 
from property names (if you have a prop. called Test, API allows to add 
something to the name, e.g. call it "_Test"). The feature you're looking 
for is currently implemented, just not for component mappings

четверг, 13 сентября 2012 г., 1:11:27 UTC+4 пользователь Dewy написал:
>
> I have the case where I am mapping several components. Never would I have 
> the same type of component in its owner.
> All the components inherit from the same base type and all have one string 
> property called "Value" that I want to persist.
>
> So in an object I may have Colour and Food components that would, by 
> standard conventions get mapped as the following columns:
>
> ColourValue
> FoodValue
>
> I would really like to be able to drop the Value post fix and just use the 
> prefix to leave me with the following columns:
>
> Colour 
> Food
>
> Is this possible?
>
> Dewy
>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/fluent-nhibernate/-/kIYnE2hkeKMJ.
To post to this group, send email to fluent-nhibernate@googlegroups.com.
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to