So I need to update the model from the db. The issue is that I want the new table to replace an existing one.
This is the format of my existing table.
Here is the new table after import it from the DB.
I delete the original 开发者_如何学Ctable and rename the fields to match, build and get errors. I am getting errors because it can't find UserProfileTenant. When I use intellisense I see that it has USR_PROFILE_TENANT2 instead of UserProfileTenant.
I'm not sure where I need to update to have names properly updated.
Looking through some questions I found Change DB in EF. But the accepted answer isn't the one I used. Its this one by zeeshanhirani.
Besure to also update the column mappings after the new table is selected.
精彩评论