none
DbUpdateConcurrencyException RRS feed

  • General discussion

  • Hi

    I am getting this exception for delete and update commands. I get 

    "Store update insert or delete statement affected or unexpected number of rows(0)" I tried out catch DBUpdateConcurrency exception, but still giving the same error.

    Please let me know

    • Moved by CoolDadTx Monday, May 7, 2018 2:06 PM EF related
    Saturday, May 5, 2018 6:35 PM

All replies

  • Store update insert or delete statement affected or unexpected number of rows(0)"

    Whatever you are trying to do concerning an insert, update or delete of records,  it didn't happen the database engine is reporting back that it did nothing when it reports that "0 rows were affected",  and the database engine through the exception telling you that it did nothing.  

    Tuesday, May 8, 2018 8:25 PM