<?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 : Strange Reject Changes Behaviour</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Strange Reject Changes Behaviour</description>
  <pubDate>Sat, 11 Apr 2026 22:19:11 -700</pubDate>
  <lastBuildDate>Wed, 24 Nov 2010 14:56:56 -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=2333</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>Strange Reject Changes Behaviour : Hi tersiusk,   This issue has...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2333&amp;PID=9238#9238</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> 2333<br /><strong>Posted:</strong> 24-Nov-2010 at 2:56pm<br /><br />Hi tersiusk, <DIV>&nbsp;</DIV><DIV>This issue has already been taken care of and the fix will be present in DevForce2010 6.0.7.0</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;&nbsp; sbelini.</DIV>]]>
   </description>
   <pubDate>Wed, 24 Nov 2010 14:56:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2333&amp;PID=9238#9238</guid>
  </item> 
  <item>
   <title>Strange Reject Changes Behaviour :  Hi the following code causes...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2333&amp;PID=9230#9230</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=988" rel="nofollow">tersiusk</a><br /><strong>Subject:</strong> 2333<br /><strong>Posted:</strong> 24-Nov-2010 at 12:41am<br /><br />Hi the following code causes a primary key&nbsp;constraint&nbsp;exception in the database since it for some reason wants to insert another application record which is not right.<div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>&nbsp;var application = DemoDBEntities.DefaultManager.Applications.FirstOrDefault();</div><div><br></div><div>//Comment out this code to make the role addition work.</div><div>// --------------------------------------------------</div><div>User user = DemoDBEntities.DefaultManager.CreateEntity&lt;User&gt;();</div><div>DemoDBEntities.DefaultManager.AddEntity(user);</div><div>user.UserID = Guid.NewGuid();</div><div>user.FirstName = "First Name";</div><div>user.Applications.Add(application);</div><div>DemoDBEntities.DefaultManager.RejectChanges();</div><div>DemoDBEntities.DefaultManager.SaveChanges(); //Save does not throw an excepton.</div><div>//--------------------------------------------------</div><div><br></div><div>var role = DemoDBEntities.DefaultManager.CreateEntity&lt;Role&gt;();</div><div>var systemFunction = DemoDBEntities.DefaultManager.SystemFunctions.FirstOrDefault();</div><div>role.SystemFunctions.Add(systemFunction);</div><div>role.Name = "Name";</div><div>role.Description = "Description";</div><div>role.RoleID = Guid.NewGuid();</div><div>role.Application = application;</div><div>DemoDBEntities.DefaultManager.SaveChanges();</div></div><div></pre></td></tr></table></div><div><br></div><div>The sample application and SQL script for the database :&nbsp;<span ="apple-style-span"="" style="font-size: 11.6667px; "><a href="uploads/988/Sample.rar" target="_blank">uploads/988/Sample.rar</a></span></div><div><br></div><span style="font-size:10px"><br /><br />Edited by tersiusk - 24-Nov-2010 at 12:47am</span>]]>
   </description>
   <pubDate>Wed, 24 Nov 2010 00:41:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2333&amp;PID=9230#9230</guid>
  </item> 
 </channel>
</rss>