4
I have a system in another language and I need to create an update for this system, but it needs to be run Mysql Scripts for database maintenance.
I searched in Java and found Maven that has all this maintenance control and reads the scripts written in SQL. In c# the closest I could get was the code First Migrations, but I did not find any example where it ran SQL Scripts.
My big question is whether I can do this with Migrations, if not, there’s another way to do it in C#?
you talk about making a system and the start of it make changes like adding new fields or deleting existing fields ? if it is, yes Code First does it .
– Marco Souza
The idea of code first is not to maintain a script-based database but to maintain a data model (classes).
– Marco Souza