C
C#2y 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
phaseshift2y ago
Think you have to run the ef tool with migrate command
Saber
Saber2y ago
You'd rescaffold
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server
More Posts