<?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 : Problem in RejectChanges</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Problem in RejectChanges</description>
  <pubDate>Mon, 13 Jul 2026 09:20:45 -700</pubDate>
  <lastBuildDate>Thu, 09 Dec 2010 14:42:33 -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=2227</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>Problem in RejectChanges : This has been fixed and is available...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=9348#9348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 2227<br /><strong>Posted:</strong> 09-Dec-2010 at 2:42pm<br /><br />This has been fixed and is available in DevForce 6.0.7.]]>
   </description>
   <pubDate>Thu, 09 Dec 2010 14:42:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=9348#9348</guid>
  </item> 
  <item>
   <title>Problem in RejectChanges : Hi bala,I don&amp;#039;t know if there...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8921#8921</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 2227<br /><strong>Posted:</strong> 25-Oct-2010 at 9:48pm<br /><br />Hi bala,<div><br></div><div>I don't know if there is a great workaround. &nbsp;You can explicitly map the mapping table (many-to-many with payload) and manage the mapping entity manually, but that seems like too much work.</div><div><br></div><div>You can also try removing the relationship again after the RejectChanges(), so if you later call SaveChanges(), the record should not be saved.</div><div><br></div><div>This should be fixed in our next release (about 6 weeks).</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 25 Oct 2010 21:48:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8921#8921</guid>
  </item> 
  <item>
   <title>Problem in RejectChanges : Hey TingI am doing same..but can...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8871#8871</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=896" rel="nofollow">bala</a><br /><strong>Subject:</strong> 2227<br /><strong>Posted:</strong> 21-Oct-2010 at 9:26am<br /><br />Hey Ting<br><br>I am doing same..<br>but can you put light how to manage this code for mean while..<br><br>Thanks<br><br><br>]]>
   </description>
   <pubDate>Thu, 21 Oct 2010 09:26:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8871#8871</guid>
  </item> 
  <item>
   <title>Problem in RejectChanges :  We have confirmed this as a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8863#8863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 2227<br /><strong>Posted:</strong> 20-Oct-2010 at 6:47pm<br /><br />We have confirmed this as a bug. &nbsp;We'll get it fixed.<div><div><br></div></div><span style="font-size:10px"><br /><br />Edited by ting - 25-Oct-2010 at 9:36pm</span>]]>
   </description>
   <pubDate>Wed, 20 Oct 2010 18:47:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8863#8863</guid>
  </item> 
  <item>
   <title>Problem in RejectChanges : where in the code. because this...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8848#8848</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2227<br /><strong>Posted:</strong> 20-Oct-2010 at 4:29am<br /><br />where in the code.<br />because this command does not exist in many to many...<br /><br />Need to remove from many to many. Not from the object itself.<br /><br />Correct me if i wrong.]]>
   </description>
   <pubDate>Wed, 20 Oct 2010 04:29:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8848#8848</guid>
  </item> 
  <item>
   <title>Problem in RejectChanges : Hi bala;Try using EntityAspect.Delete()...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8835#8835</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2227<br /><strong>Posted:</strong> 19-Oct-2010 at 5:35pm<br /><br />Hi bala;<div><br></div><div>Try using EntityAspect.Delete() method instead.</div>]]>
   </description>
   <pubDate>Tue, 19 Oct 2010 17:35:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8835#8835</guid>
  </item> 
  <item>
   <title>Problem in RejectChanges : I having the same problem.  if...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8811#8811</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2227<br /><strong>Posted:</strong> 18-Oct-2010 at 3:11am<br /><br />I having the same problem. <br />if anyone knows how to solve ... <br /><br />help ... <br /><br />Thanks...]]>
   </description>
   <pubDate>Mon, 18 Oct 2010 03:11:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8811#8811</guid>
  </item> 
  <item>
   <title>Problem in RejectChanges : privatevoidbtnRemoverProfissao...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8791#8791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=896" rel="nofollow">bala</a><br /><strong>Subject:</strong> 2227<br /><strong>Posted:</strong> 14-Oct-2010 at 4:39am<br /><br /><p>&nbsp;private&nbsp;void&nbsp;btnRemoverProfissao_Click(object&nbsp;sender,&nbsp;RoutedEventArgs&nbsp;e)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(agDataGrid3.SelectedRowsCount&nbsp;!=&nbsp;0)<br>&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;PESSOA_PROFISSAO&nbsp;profissao&nbsp;=&nbsp;(PESSOA_PROFISSAO)DataGrid.FocusedDataRow;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PessoaProfissaoGrupo.PESSOA_PROFISSAO.Remove(profissao);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Profissoes.Remove(profissao);<br>&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;else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBox.Show("<span id="result_" ="short_text" lang="en"><span style="" title="">Select a Profession to remove</span></span>.");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</p>private&nbsp;void&nbsp;CancelButton_Click(object&nbsp;sender,&nbsp;RoutedEventArgs&nbsp;e)<br><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_em.RejectChanges();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.DialogResult&nbsp;=&nbsp;false;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</p><p>The above code in Child Window I click remove then click on cancel.</p><p>(I am not executing _em.saveAsync())<br></p><p>Then I move to other menu and doing other&nbsp; operation like saving other records</p><p>and _em Executing&nbsp;<font color="#ff3333"><i> PessoaProfissaoGrupo.PESSOA_PROFISSAO.Remove(profissao)</i></font>; this records</p><p>I expect after i cancel _em should be reject my changes.</p><p><br></p><p>Thanks<br></p>]]>
   </description>
   <pubDate>Thu, 14 Oct 2010 04:39:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8791#8791</guid>
  </item> 
  <item>
   <title>Problem in RejectChanges : Hi Bala;Could you give more detail...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8787#8787</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2227<br /><strong>Posted:</strong> 13-Oct-2010 at 4:46pm<br /><br />Hi Bala;<div><br></div><div>Could you give more detail as to how the RejectChanges failed to give result?</div>]]>
   </description>
   <pubDate>Wed, 13 Oct 2010 16:46:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8787#8787</guid>
  </item> 
  <item>
   <title>Problem in RejectChanges : Hi ThereI would come across one...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8783#8783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=896" rel="nofollow">bala</a><br /><strong>Subject:</strong> 2227<br /><strong>Posted:</strong> 13-Oct-2010 at 12:34pm<br /><br />Hi There<br>I would come across one problem. <br>I want to undo my changes So I am using RejectChanges();<br>Its working with Single table but when I used many to many to relation and<br>RejectChanges fail to give result.<br><br>Any suggestions...<br><br><br>Thanks<br><br><br><br>]]>
   </description>
   <pubDate>Wed, 13 Oct 2010 12:34:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2227&amp;PID=8783#8783</guid>
  </item> 
 </channel>
</rss>