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