C
C#3y ago
bookuha

Keep up with Db(First)

How do I keep up with my Db changes with DbFirst way? Do I rescaffold it every time I make a change? How to transition from DbFirst to CodeFirst smoothly? I need to add a field to my model(table), but I feel like any change may ruin the entire data layer How does DbFirst works? Applying constraints to my DB tables also makes EF to follow them without any updates. Why?
3 Replies
phaseshift
phaseshift3y ago
Think you have to run the ef tool with migrate command
Saber
Saber3y ago
You'd rescaffold
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?