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

Remove entities #8625


User avatar
0
ESTeam created

Hi Support,

What are the best steps to remove an entity?

Best regards, André


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    You can manually remove DbSet<YourEntity> from dbcontext. Add migrations and update the database later.

  • User Avatar
    0
    ESTeam created

    Also, is it not necessary to manually remove Dto's, AppServices, etc.?

  • User Avatar
    1
    ryancyq created
    Support Team

    It is recommended that version control (e.g. Git) is being setup before working with ANZ so that you can easily revert any changes you made.