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

Power Tools - One to One relationship #8831


User avatar
0
denis.karovic created

Hello,

Is there a possibility of creating one-to-one relationship between two tables using Power Tools?

If not, what would be the most apropriate solution?


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @denis.karovic,

    Yes, you can do that in Navigation Properties tab.

  • User Avatar
    0
    denis.karovic created

    Yes, but then one to many relationship is generated. Than migration files have to me manually tackled (at least in situation where dependant table has primary key and foreign key)

  • User Avatar
    0
    ismcagdas created
    Support Team

    @denis.karovic,

    Sorry, you are right. Then, you have to do it manually.

  • User Avatar
    0
    denis.karovic created

    Maybe ti would be a nice feature to make this option available in Power Tools, so the user can select among these three relation types:

    • one to one
    • one to many
    • many to many
  • User Avatar
    0
    -bitman created

    Would love to have this feature in the roadmap as well. Thank you.