Hi,
I have two entities,Employee and Skill with many to many bidirectional relationship between them.The relationship is kept in a third table Employee_Skill with EMPLOYEEID and SKILLID as its columns.
I want to publish Employee and Skill in the Odata service but not the table Employee_Skill.
This is not working and has some syntax error.
service {
"NEO_5MQHFLV64XNFC5PLEBK8E1HNH"."Employee" as "Employee" navigates ("Employee_Skill" as "Skills");
"NEO_5MQHFLV64XNFC5PLEBK8E1HNH"."Skill" as "Skill" navigates ("Employee_Skill" as "Employees");
association "Employee_Skill" principal "Employee"("EMPLOYEEID") multiplicity "1" dependent "Skill"("SKILLID") multiplicity "*"
over "NEO_5MQHFLV64XNFC5PLEBK8E1HNH"."Employee_Skill" principal ("EMPLOYEEID") dependent ("SKILLID");
association "Skill_Employee" principal "Skill"("SKILLID") multiplicity "1" dependent "Person"("EMPLOYEEID") multiplicity "*"
over "NEO_5MQHFLV64XNFC5PLEBK8E1HNH"."Employee_Skill" principal ("SKILLID") dependent ("EMPLOYEEID");
}
Could anyone suggest a way.