Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Navigation Property on Many Side of the Relationship #9124


User avatar
0
-bitman created

Hello ANZ Team,

I have a customer-contact entity that contains the 1-to-many relationship between my customer and contact entities. This entity only has the PK for the customer and contacts entities. I wanted to add a navigation property to my customer entity against this customer-contact entity on the contact id. The use case is for my customer to have a primary contact from its list of contacts. When I tried this using the Power Tools, under the navigation property, it stops me from generating the code and prompts for assigning a display field. I don't want to add another property just for this since I only need the PKs of the customer and contact entities in my customer-contact entity.

Please help on how to go about this matter.

Thank you.


3 Answer(s)