on 2016 Mar 21 7:13 PM
I recently upgraded from Entity Framework 4 to EF6, but there seems to be an issue with the SQL Anywhere ADO.NET provider. In a database-first project, when I update the model (.edmx) from database, foreign keys that consist of two or more columns are not represented as an association afterwards. I'm currently using SA 16.0.0.2158. Does anyone have any experience with this, and/or any suggestions on how to fix this?
EDIT: Apparently, Entity Framework 4.4 (which is what I upgraded from) is actually Entity Framework 5.
I'm getting the following warning in Visual Studio:
Error 6035: The relationship X has columns that are not part of the key of the table on the primary side of the relationship. The relationship was excluded.
User | Count |
---|---|
68 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.