Base solution for your next web application
Open Closed

Existing Database #1777


User avatar
0
aplanos created

Hi, first thanks you all to support this great project. Recently I receive a new database model, with a lot of tables and procedures. How do you suggest to integrate aspnetboilerplate with this existing db model?

Thanks again


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

    ABP works well with EF Code First. We don't spend time to support DB First approach. You can automatically create code first model of your db, then modify your entities to properly work with ABP.

  • User Avatar
    0
    aplanos created

    Sure, that was the same approach I tried. So, every time my client send me a new db model I should create the EF model from the db with a temporal VS solution, and then copy those generated files to my ABP project, or manualy code the entites to match the new db. Is that the way?

  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    Actually, I was thinking to continue with Code First migrations after first db creation. Isn't that possible?