开发者

How to update entity objects without deleting?

开发者 https://www.devze.com 2023-01-16 17:53 出处:网络
I have an entity generated from my database that contains one table. When i make changes in the DB i obviously would like these changes to reflected in my model.

I have an entity generated from my database that contains one table. When i make changes in the DB i obviously would like these changes to reflected in my model.

My current approach is to delete the item from the designer and then right-click - update model from database. This works for me at the momen开发者_如何学运维t. Is there a different approach to refreshing these entity tables ?


Why are you deleting them? You can simply right click on your model and select Update Model From Database... and you are done.

0

精彩评论

暂无评论...
验证码 换一张
取 消