I have no clue. Maybe this was left over from when your db was previously generated. Try deleting it and re-generating.
Do you have a UserGroup reference somewhere else in your mapping? On Mar 21, 12:25 pm, Kris-I <[email protected]> wrote: > I tried this : > > User C# > public virtual IList<LookupUserGroup> LookupUserGroups{ get; set; } > > User.xbm.xml > <bag name="LookupUserGroups" table="UsersGroups" inverse="true" > lazy="true"> > <key column="Id"/> > <many-to-many class="LookupUserGroup" column="UserGroupId"/> > </bag> > > LookupUserGroup C# > public virtual IList<User> Users { get; set; } > > LookupUserGroup.xbm.xml > <bag name="Users" table="UsersGroups" lazy="true"> > <key column="Id"/> > <many-to-many class="User" column="UserId"/> > </bag> > > The result is a third table appear, normal but there 2 relations > between User and UsersGroups. See the > picturehttp://i54.tinypic.com/2nsb7lt.png > > Thanks, -- You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en.
