I have the following DB schema:
Users
-Id (uniqueidentifier)
-FirstName
-LastName
-Email
AuthProviders
-Id (smallint)
-Name
UserAuthProviders
-Id (uniqueidentifier)
-User (uniqueidentifier, FK)
-AuthProvider (smallint, FK)
-Identity (nvarchar)
I need to map all AuthProviders to the User object. I started with an idbag, but it looks like that only allows me to have an Id, User relationship, and AuthProvider relationship. I need to be able to include the Identity as well.
What else can I use to map it?