Regarding the entity framework's update RRS feed

  • Question

  • I download the mvcmusicstore sample.And remove the   [Authorize(Roles = "Administrator")] in StoreManagerController,

    then edit the album's name, it show such error.

    Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.

    video edit
    Thursday, September 8, 2011 9:23 AM

All replies