Code: Select all
Properties referred by the Principal Role ASPNET_USERS
must be exactly identical to the key of the EntityType MyApp.Models.Store.ASPNET_USERS
referred to by the Principal Role in the relationship constraint for Relationship MyApp.Models.Store.FK_UserInfo_AspnetUsers.
Make sure all the key properties are specified in the Principal Role.
The table schema is
Code: Select all
ASPNETUSERS
Column Type
------- --------
UserID (PK) GUID
...
UserInfoID NUMBER
USERINFO
Column Type
------- --------
ID (PK) NUMBER