I have a solution of n-layers, inside which I have separate the DAL of the entities.
For this, I am using the model called Code First from Database , which although it works quite well, because it allows me to separate the entities in a different project.
It has the disadvantage that when I update the database (the DBA), I see myself in the obligation to rebuild the DAL, and re-separate the entities generated in the other project.
Is there a way to automate this process?
I've been seeing Migrations , but that only works when I update the model (I'm not sure if this method works, if the model is in another project).
Greetings