I have exactly the same issue ... something seems to be not correct.

I think on one side there should be inverse="true" which fluent-nh
should use to detect real parent

--
Cheers, Marek

On 9 Gru 2008, 06:13, karron <karron...@gmail.com> wrote:
> I configure the ManyToMany table name as the following.
>
> persistenceModel.Conventions.GetManyToManyTableName=
>                                 (x, y) => Inflector.Pluralize(x.Name)
> + "To" + Inflector.Pluralize(y.Name);
>
> but fluent-nh generates two table for me.  for example, I have user
> and role entity, they have many2many relationship, the fluent-nh gives
> me two tables: RolesToUsers , UsersToRoles. Any ideas for this case? I
> know I can set the TableName at the mapping class.
>
> Thanks a lot.
>
> --
> Regards,
> Karron

--~--~---------~--~----~------------~-------~--~----~
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