Header Ads

Update an .edmx File when Database Changes Occures

Open .EDMX file, right click on it and choose an update model from database. but it is not always works in case of modifications in table(s). For that we need to follow some other way like first we need to

1. Delete the table from the model,
2. Switch to XML form EDMX,
3. Delete the related XML entity elements,
4. Switch back to EDMX from XML.
5. Finally right click on it and choose an update model from database.

Happy Coding!!!

4 comments:

  1. it was helpful ,tnx

    ReplyDelete

  2. If you're interested in unique entertainment options, you might want to explore the ücretli show that offers an unforgettable experience. Many people find that such performances provide a different kind of excitement compared to free events. For those seeking quality and professionalism, this is definitely worth considering. You can learn more about it by visiting the website. Overall, attending a ücretli show can be a great way to spend your evening.

    ReplyDelete

Powered by Blogger.