Can we run sql script using code first migrations?
I am new to code first and if I want to save my changes to a SQL script file before update-database command of migration, is it possible?
If possible then please provide steps to get it done. Also if script is generated then is it possible that I can run that script using migration?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…