Base solution for your next web application
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.

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    -bitman created

    Thank you @ismcagdas. Will this solution be incorporated and implemented in the Power Tools someday?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @-bitman,

    I'm not sure but it seems like a specific use case rather than a commonly used approach. If we get requests about this usage, we may add it to Roadmap.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)