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

Using AspNet RAD Tool for Core + Angular to change/add properties to User-class #5645


User avatar
0
larsfk created

Hi!

Im trying to use RAD Tool to add a property to User and Role-class, is this possible? If so, how? When I click on "Re-register a entity" the list is empty and if I load entity from Database, everthing gets chaotic.

Thanks!

Lars


8 Answer(s)
  • User Avatar
    0
    yekalkan created

    Hi,

    Im trying to use RAD Tool to add a property to User and Role-class, is this possible?

    No, it's not possible. You can regenerate the entities only which you created using the tool.

  • User Avatar
    0
    larsfk created

    Ah okei, but if I want to update just one property in a already exisiting class/enitity, whats the best way to do that?

  • User Avatar
    0
    yekalkan created
  • User Avatar
    0
    larsfk created

    I couldent do it with that documentation because ".Web\App\common\views\users\index.js" does not exist. The documentation uses AngularJS and not Angular 6, so I feel something is missing and doesnt add up to my code...

  • User Avatar
    0
    yekalkan created

    You can extend the entity and dto's the same way. And for User Interface, you just have to add new fields to user.component.html and create-or-edit-user-modal.component.html files.

  • User Avatar
    0
    larsfk created

    What about service-proxy will it be updated after doing changes in entity and dto + running refresh.bat?

  • User Avatar
    0
    yekalkan created

    Yes.

  • User Avatar
    0
    larsfk created

    Great! Thank you so much @yekalkan :)