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

Extending OU #3876


User avatar
0
huntethan89 created

We want to link OUs to a separate table. Is it possible add a new column with Foreign Key constraint in OrganizationUnit table? Please guide if so,


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

    Hi,

    This document can help you <a class="postlink" href="https://aspnetzero.com/Documents/Extending-Existing-Entities">https://aspnetzero.com/Documents/Extend ... g-Entities</a>.

  • User Avatar
    0
    huntethan89 created

    I have seen that already and it states- "In AspNet Zero, Tenant, User and Role entities are abstract in the framework, others are not. "

    So, since they are not allowing to extend this entity, I have created a separate table and storing the OU ID there and adding other fields as a solution.

  • User Avatar
    0
    sago created

    i have the same problem any solution !!!

  • User Avatar
    0
    ismcagdas created
    Support Team

    @sago, can you explain your case ? Have you tried @smartlayer's solution ?