So I have a database schema like this:
Users
UserId
RoleUserXRef
RoleUserId
RoleId
UserId
Roles
RoleId
Name
With foreign keys defined between User & RoleUserXRef and RoleUserXRef & Role. Basically, I have a one to many relationship between users and roles.
How would I model this in dbml, such that the generated User class has a list of Roles that the user has assigned to them?