<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : .Delete() causes error: Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records.</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : .Delete() causes error: Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records.</description>
  <pubDate>Sat, 11 Apr 2026 22:49:49 -700</pubDate>
  <lastBuildDate>Fri, 15 Aug 2008 21:38:38 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=912</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>.Delete() causes error: Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records. : David,That was IT!I had not fully...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3311#3311</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=92" rel="nofollow">HFloyd</a><br /><strong>Subject:</strong> 912<br /><strong>Posted:</strong> 15-Aug-2008 at 9:38pm<br /><br />David,<br><br>That was IT!<br><br>I had not fully implemented the RowVersion (that is, set the SQL Update in the OM to RowVersion+1) before I had added the test data, so all the RowVersions were null - I did add a Console.Write test to show the RowVersion Before I called .Delete() and after, and they did match - both null. So I just went into SQL Server and ran an quick update query to update all the RowVersions to 0, and then the Delete worked fine.<br><br>I also noticed that even though the Table RowVersion field was an integer, it was not automatically giving new rows a 0 value, so I changed the "SQL Insert Value" in the OM to 0, which seems to have fixed it.<br><br>Thanks for your sleuthing!<br><br>Heather<br>]]>
   </description>
   <pubDate>Fri, 15 Aug 2008 21:38:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3311#3311</guid>
  </item> 
  <item>
   <title>.Delete() causes error: Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records. : I just got this email. It may...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3309#3309</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 912<br /><strong>Posted:</strong> 15-Aug-2008 at 3:28pm<br /><br />I just got this email.&nbsp; It may explain why you are having problems? <DIV><P ="Ms&#111;normal"><EM><strong>If I don’t actually do anything with rowversion I keep getting concurrency errors when I save because the rowversion column is NULL by default.&nbsp; I have the default value in SQL as 1 but the object mapper is ignoring that.</strong></EM></P><P ="Ms&#111;normal"><EM><strong>The one solution I can see is go to every table in the OM and change the default value to 1.&nbsp; Or is this something a fix to Ideablade can be done so that the concurrency rowversion can handle a null value and treat it as 1.</strong></EM></P><P ="Ms&#111;normal"><EM><strong>Is there another solution?&nbsp; Should the OM be picking up the default value from SQL and putting it into the default value column?<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></strong></EM></P><P ="Ms&#111;normal"><O:P>&nbsp;</O:P></P><P ="Ms&#111;normal"><O:P>&nbsp;</O:P></P></DIV><span style="font-size:10px"><br /><br />Edited by davidklitzke - 15-Aug-2008 at 3:28pm</span>]]>
   </description>
   <pubDate>Fri, 15 Aug 2008 15:28:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3309#3309</guid>
  </item> 
  <item>
   <title>.Delete() causes error: Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records. : Let&amp;#039;s review what a concurrency...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3308#3308</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 912<br /><strong>Posted:</strong> 15-Aug-2008 at 3:17pm<br /><br /><DIV>Let's review what a concurrency violation means.&nbsp; Every row that gets modified or deleted by DevForce has a CurrentVersion and an OriginalVersion of that row in the PersistenceManager Cache.&nbsp;When DevForce tells the database to delete&nbsp;a row, the database looks at the CurrentVersion of the ConcurrencyColumn&nbsp;from the PersistenceManager Cache and compares it with the actual value of the ConcurrencyColumn in the database,&nbsp; The two numbers should be the same.&nbsp; If they are not the same, the assumption is made that some other user or process must have changed that value, and a concurrency violation is reported</DIV><DIV>&nbsp;</DIV><DIV>Let me give an example.&nbsp; I will use the RowVersion column as the ConcurrenctColumn and the database will increment that number by 1 for every change.&nbsp; When I do a GetEntities on Employee, assume that RowVersion is 100 for a particular row.&nbsp; If I do a Delete on that row, the RowVersion will be equal to 100 for both the OriginalVersion and the CurrentVersion.&nbsp; The database will allow the Delete as long as the RowVersion in the database is still equal to 100.</DIV><DIV>&nbsp;</DIV><DIV>Now, let's take the same example, but after I do the GetEntities of Employee, some other user modifies the row I want to delete.&nbsp; This will change RowVersion from 100 to 101.&nbsp; Then when I try the Delete, my proposed value of 100 for RowVersion will not match the 101 value in the database,</DIV><DIV>&nbsp;</DIV><DIV>You should now see that&nbsp;we need more information from your recent code.&nbsp; Report the value of the ConcurrencyColumn from both the OriginalVersion and CurrentVersion of the EntityWithErrors.&nbsp; Also, report the value of the ConcurrencyColumn in the database.&nbsp; If you are not sure how to do this, look at the code in the tutorial on Resolving Concurrency Conflicts.</DIV>]]>
   </description>
   <pubDate>Fri, 15 Aug 2008 15:17:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3308#3308</guid>
  </item> 
  <item>
   <title>.Delete() causes error: Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records. :  Hi David, I hobbled together...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3302#3302</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=92" rel="nofollow">HFloyd</a><br /><strong>Subject:</strong> 912<br /><strong>Posted:</strong> 14-Aug-2008 at 2:37pm<br /><br />Hi David, <br><br>I hobbled together a basic try/catch to check for the Entities with Errors and then print out info about their rowstate:<br><table width="99%"><tr><td><pre class="BBcode"><br>...<br>oTest.Delete();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SaveResult result = pm.SaveChanges();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return; // success = don't try save again.<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch (PersistenceManagerSaveException saveException)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exception innerException = saveException.InnerException;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (innerException is DBConcurrencyException)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PersistenceManagerSaveException pException = saveException;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SaveResult pSaveResult= pException.SaveResult;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("There are Save Errors:");<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int x = 0; x &lt; pSaveResult.EntitiesWithErrors.Count; x++)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("Unexpected Save Exception");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.ReadLine(); Console.WriteLine("------------------------");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("Press any key to exit.");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.ReadLine();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>...<br></pre></td></tr></table><br><br>What I got was this information:<br>Table = HS.Admin.Model.ContactMethod &lt;== this makes some sense, since I am trying to delete ContactMethods<br>RowState = Detached&nbsp; &lt;== this, I am not so clear about. <br><br>I don't think I have a clear conception of what "Detached" means, and if this data was just called from the database, why is it "Detached", as opposed to "Unchanged" or something?<br><br>I added a print of the rowstate for the entity right before "oTest.Delete();" - and it does return "Unchanged". <br><br>I'm not sure what you mean by "sick databases" - do you mean some malformed data in a field? Actual corruption? An improperly Created object?&nbsp; Some naughty table dependency? <br><br>I would be surprised if my db were actually corrupted, since it only has test data and has never been in Production use.<br><br>Thanks, <br><br>Heather<br><br><span style="font-size:10px"><br /><br />Edited by HFloyd - 14-Aug-2008 at 2:54pm</span>]]>
   </description>
   <pubDate>Thu, 14 Aug 2008 14:37:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3302#3302</guid>
  </item> 
  <item>
   <title>.Delete() causes error: Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records. : Per my last post, you should be...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3301#3301</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 912<br /><strong>Posted:</strong> 13-Aug-2008 at 4:38pm<br /><br />Per my last post, you should be able to locate the entity that is causing the concurrency exception.&nbsp; You should be able to find an EntityWithErrors.&nbsp; Look at the tutorial on resolving concurrency conflicts.<DIV>&nbsp;</DIV><DIV>However, I think there is something else wrong with your application or database that is causing these weird errors.&nbsp; For example, "sick" databases can generate misleading errors like this.&nbsp; I would try to simplify things to get something simple that works.</DIV><DIV>&nbsp;</DIV><DIV>You can also send a DebugLog or SQL profiler output to <a href="mailto:support@ideablade.com" target="_blank">support@ideablade.com</A></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 13 Aug 2008 16:38:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3301#3301</guid>
  </item> 
  <item>
   <title>.Delete() causes error: Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records. : Thanks for your reply, David,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3299#3299</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=92" rel="nofollow">HFloyd</a><br /><strong>Subject:</strong> 912<br /><strong>Posted:</strong> 13-Aug-2008 at 1:27pm<br /><br />Thanks for your reply, David, <br><br>I added a check to pm.HasChanges(), which returns FALSE. (Which doesn't surprise me since this code is pretty simple and there isn't any other access to the database happening at the same time.)<br><br>Any other ideas?<br><br>Thanks!<br><br>Heather<br>]]>
   </description>
   <pubDate>Wed, 13 Aug 2008 13:27:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3299#3299</guid>
  </item> 
  <item>
   <title>.Delete() causes error: Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records. : I don&amp;#039;t see how a delete...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3297#3297</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 912<br /><strong>Posted:</strong> 13-Aug-2008 at 9:38am<br /><br />I don't see how a delete could possibly cause a concurrency violation, but I do see that you are doing&nbsp;a pm.SaveChanges.&nbsp;&nbsp;One suspicion that I have is that you may have other changes&nbsp;in your cache that you are not aware of &nbsp;that&nbsp;are causing&nbsp;the real problem.&nbsp; For example, there may be some newly created entities that have identical primary keys.&nbsp; To check for this,&nbsp;&nbsp;check the value of pm.HasChanges() immediately before doing the delete.&nbsp; The value should be false.&nbsp; If the value is true, try doing a pm.SaveChanges before doing the delete.<DIV>&nbsp;</DIV><DIV>You can also look at the tutorial "Resolving Concurrency Conflicts".&nbsp; This will show you how to check&nbsp;which record actually&nbsp;causing the &nbsp;concurrency conflict.</DIV>]]>
   </description>
   <pubDate>Wed, 13 Aug 2008 09:38:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3297#3297</guid>
  </item> 
  <item>
   <title>.Delete() causes error: Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records. : Hi, I am just using a simple Console...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3294#3294</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=92" rel="nofollow">HFloyd</a><br /><strong>Subject:</strong> 912<br /><strong>Posted:</strong> 12-Aug-2008 at 5:53pm<br /><br />Hi, I am just using a simple Console application to run some tests on my BOs. I created&nbsp; some test data using my .Create() method and it was copied to the database, now I just want to clean out my test data. I figured deleting wouldn't be a big deal, but I have been struggling with it for some time now!<br><br>I get the error "<b>Save failed - Concurrency violation: the DeleteCommand affected 0 of the expected 1 records.</b>" right at the pm.SaveChanges() call.<br><br>Here is the code chunk:<br><table width="99%"><tr><td><pre class="BBcode"><br>for (int i = 0; i &lt; iTotal - 1; i++)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ContactMethod oTest = pm.GetEntities&lt;ContactMethod&gt;();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (oTest.HouseholdBizREF == gHeatherHB)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (oTest.MethodType == "Website")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("These will be DELETED:");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strTest = oTest.MethodType;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.Write(strTest);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.Write(" : ");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strTest = oTest.NumberOrAddress;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.Write(strTest);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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bsp; Console.WriteLine();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oTest.Delete();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pm.SaveChanges();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iTotal = pm.GetEntities&lt;ContactMethod&gt;().Count;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br></pre></td></tr></table><br><br>After browsing around on this forum I came across a post which suggested using a separate EntityList to manage deleting:<br>http://www.ideablade.com/Forum/forum_posts.asp?TID=359<br><br>So I edited my code thus:<br><table width="99%"><tr><td><pre class="BBcode"><br>EntityList&lt;ContactMethod&gt; oDeleteList = new EntityList&lt;ContactMethod&gt;();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oDeleteList.ShouldRemoveDeletedEntities = false;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int i = 0; i &lt; iTotal - 1; i++)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ContactMethod oTest = pm.GetEntities&lt;ContactMethod&gt;()<em>;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (oTest.HouseholdBizREF == gHeatherHB)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (oTest.MethodType == "Website")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("These will be DELETED:");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strTest = oTest.MethodType;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.Write(strTest);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.Write(" : ");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strTest = oTest.NumberOrAddress;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.Write(strTest);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.Write(" ( ");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oDeleteList.Add(oTest);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; oTest.Delete();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pm.SaveChanges(oDeleteList);<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iTotal = pm.GetEntities&lt;ContactMethod&gt;().Count;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br></pre></td></tr></table><br><br>But I still get the same error at the same location.<br><br>Can anyone spot the reason this doesn't work as I expect it to?<br><br>Thanks!<br><br>Heather<span style="font-size:10px"><br /><br />Edited by HFloyd - 12-Aug-2008 at 6:02pm</span>]]>
   </description>
   <pubDate>Tue, 12 Aug 2008 17:53:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=912&amp;PID=3294#3294</guid>
  </item> 
 </channel>
</rss>