SAP Knowledge Base Article - Preview

2376124 - Composite foreign keys are not represented in diagrams when generating an ADO.NET entity model from an existing database

Symptom

  • Warning 1 Error 6035: The relationship 'FK_Employment_Employee_EmployeeId' has columns that are not part of the key of the table on the primary side of the relationship. The relationship was excluded. c:\users\administrator\documents\visual studio 2013\Projects\CompositeForeignKeyExample\CompositeForeignKeyExample\Model1.edmx 1 1 CompositeForeignKeyExample

  • Warning 2 Error 6035: The relationship 'FK_Employment_Employee_EmployerCode' has columns that are not part of the key of the table on the primary side of the relationship. The relationship was excluded. c:\users\administrator\documents\visual studio 2013\Projects\CompositeForeignKeyExample\CompositeForeignKeyExample\Model1.edmx 1 1 CompositeForeignKeyExample


Read more...

Environment

  • SAP SQL Anywhere 17 and SAP.Data.SQLAnywhere.EF6
  • SAP SQL Anywhere 16 and iAnywhere.Data.SQL Anywhere.EF6
  • MS Visual Studio 2013
  • MS Visual Studio 2015

Product

SAP SQL Anywhere 16.0 ; SAP SQL Anywhere 17.0

Keywords

entity framework , KBA , BC-SYB-SQA-CLI , SQL Anywhere - Client libraries (odbc, jdbc ...) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.