0

I've got three tables as the following example:

Table A
- ID (PK)
- ID_B
- ID_C
- Description

Table B
- ID (PK)
- Description

Table C
- ID (PK)
- Description

The ID's from Table A are not mapped as Foreign Key, but they are (And I Can't change that), how can I map them in only one entity? I tried SecondaryTable but it request me to use the PK of the Table A with the PK of Table B, I tried to reference another field of the table but I wasn't able to do it.

Anybody can help me?

Thanks in Advance!

user3633580
  • 93
  • 3
  • 10

1 Answers1

0

If you could define a view with appropriate join clauses, you could define an entity corresponding to the view and treat it as if it were a table.

Jonathan Rosenne
  • 2,159
  • 17
  • 27