Open Closed

Identity #9311


User avatar
0
dhaoo created
  • hi,I want to add an employee number field to the AbpUsers table and add this field to the functions on the /Identity/Users page. Which methods should I rewrite

4 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi,

    Have you tried Entity Extension System for that?

    https://abp.io/docs/latest/framework/architecture/modularity/extending/module-entity-extensions#create-update-forms

  • User Avatar
    0
    dhaoo created

    Wow, it's amazing. Thank you very much!

  • User Avatar
    0
    dhaoo created

    Hi,I checked the AbpUsers table and found that no new field was added. Where is the storage of this field placed

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    If want to keep it as a new column, make sure you configured database mapping properly like this example:

    https://abp.io/docs/latest/framework/architecture/modularity/extending/module-entity-extensions#database-mapping

    And hen create a new entityframework core migration to update database.

    dotnet ef migrations add NewPropertyAdded in .EntityFrameworkCore project

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 13, 2025, 11:37