0
    
    
        
                    moinahmed created
                    
                    
                    
                
                I'm trying to create a new entity (Department) as follows: Entity name: Department
| Name | DataType | Remarks | | ---- | -------- | ------- | | Id | Uniqueidentifier | Primary Key | | Name | NVarchar(255) | Department name | | OrganizationUnitId (FK) | UniqueIdentifier | Foreign key from OrganizationUnit entity |
How can I achieve this? Also, how to add Collection property (Departments) in OrganizationUnity entity?
Thanks, Moin
2 Answer(s)
- 
    0The actual ask is I'd like to extend IdentiyUser model to add departments functionality just as we have for roles in the same table. I need a collection out there with all CRUD methods. 
- 
    0


 
                                