Looks like an oversight, unfortunately!

On Thu, Mar 19, 2009 at 4:52 PM, brown-cow <colbysbr...@gmail.com> wrote:

>
> I'm trying to do a mapping for a Set of Components on an entity.
> Here's the mapping I have right now:
>
> ...
> HasMany(x => x.Properties)
>                .AsSet()
>                .WithTableName("entity_properties")
>                .KeyColumnNames.Add("entity_id_fk")
>                .Component(ct =>
>                               {
>                                   ct.Map(c => c.Name,
> "property_name");
>                                   ct.Map(c => c.Value,
> "property_value");
>                               });
>
> ...
>
> But I would like to use the .WithParentReference(..) that is normally
> available for simple Component mappings, but when doing the mapping as
> a set like this, the option isn't available.
>
> 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 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