Reputation: 57552
I deleted a navigation property in my Entity Framework Designer, thinking it wasn't needed. It's now needed and I'd like to restore it. How can I do this without deleting the model and re-importing the table from the database?
Upvotes: 3
Views: 695
Reputation: 4023
I think you can just refresh the model (the same way you add to it), so there's no need to delete it first. And if the navigation property doesn't get added you can add it manually.
Upvotes: 2