Updating your edmx to reflect changes made in your db (.net linq-to-entities)

前端 未结 11 2123
遥遥无期
遥遥无期 2020-12-04 11:59
  • So I have my edmx made.
  • Then I change my database a little bit, changing a column to from being a NOT NULL to allowing NULL.
  • I go into my edmx, rig
11条回答
  •  渐次进展
    2020-12-04 13:02

    THIS IS THE QUICKEST EASIEST WAY:

    1. Delete the view/table from the .edmx diagram.
    2. NOW use the Update Model from Database to add the table back in.

提交回复
热议问题