<?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 : Cascading Delete</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Cascading Delete</description>
  <pubDate>Sat, 11 Apr 2026 11:23:30 -700</pubDate>
  <lastBuildDate>Mon, 20 Aug 2012 13:17:49 -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=3587</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>Cascading Delete : Sven,I could not reproduce the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3587&amp;PID=14231#14231</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3587<br /><strong>Posted:</strong> 20-Aug-2012 at 1:17pm<br /><br />Sven,<div>&nbsp;</div><div>I could not reproduce the issue here. </div><div>I am attaching a sample solution where I took the same steps as you did: updated the database for cascade delete the orders related to a customer (I updated the FK_Order_Customer Delete Rule to Cascade), updated the model from database, and ran the sample. (Note I attached a "modified version of NorthwindIB, so you wouldn't run into other constraints while trying to delete)</div><div><a href="uploads/892/T12077.zip" target="_blank">uploads/892/T12077.zip</a></div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 20 Aug 2012 13:17:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3587&amp;PID=14231#14231</guid>
  </item> 
  <item>
   <title>Cascading Delete : Hi,I created cascading deletions...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3587&amp;PID=14210#14210</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1078" rel="nofollow">sven4tmn</a><br /><strong>Subject:</strong> 3587<br /><strong>Posted:</strong> 17-Aug-2012 at 2:37am<br /><br />Hi,<div><br></div><div>I created cascading deletions on SqlServer, updated my entity model and ran custom tool. Now, if I delete a entity the child record's foreign key changes to empty guid and switches state to modified. Saving changes tries now to save modified child entity and retrieves error from DB (foreign key violation). Deleting entity directly on SqlServer works fine and cascades deletion.</div><div><br></div><div>Do I need further settings or what am I doing wrong?</div><div><br></div><div>Thank you</div><div>Sven</div><div><br></div><div>DevForce: 6.1.8</div><div>Cocktail: 1.0</div><div><br></div>]]>
   </description>
   <pubDate>Fri, 17 Aug 2012 02:37:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3587&amp;PID=14210#14210</guid>
  </item> 
 </channel>
</rss>