I'm using the AutoPersistence model with conventions, and it looks
like the wrong convention is being used for many-to-many table names
when computed from the perspective of the parent. They are correctly
evaluated from the child's perspective, however.

>From Roles:

    <bag name="Users" table="UsersToRoles">
      <key column="RoleId" />
      <many-to-many column="UserId" class="Zen.Domain.Entities.User,
Zen.Domain, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null" />
    </bag>

>From User:

    <bag name="Roles" inverse="true" table="UserToRole">
      <key column="UserId" />
      <many-to-many column="RoleId" class="Zen.Domain.Entities.Role,
Zen.Domain, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null" />
    </bag>

It looks like it's going back to the default convention. Any ideas?


Thanks,
Nate
--~--~---------~--~----~------------~-------~--~----~
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