<?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 : Entity.RowState</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Entity.RowState</description>
  <pubDate>Sun, 12 Apr 2026 04:02:28 -700</pubDate>
  <lastBuildDate>Mon, 11 Feb 2008 08:55:02 -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=677</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>Entity.RowState : Cheers Jeff  I think i will...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=677&amp;PID=2533#2533</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=69" rel="nofollow">Darren</a><br /><strong>Subject:</strong> 677<br /><strong>Posted:</strong> 11-Feb-2008 at 8:55am<br /><br />Cheers Jeff<DIV>&nbsp;</DIV><DIV>I think i will take that approach.</DIV>]]>
   </description>
   <pubDate>Mon, 11 Feb 2008 08:55:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=677&amp;PID=2533#2533</guid>
  </item> 
  <item>
   <title>Entity.RowState :   Just a thought, you probably...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=677&amp;PID=2526#2526</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=34" rel="nofollow">jeffdoolittle</a><br /><strong>Subject:</strong> 677<br /><strong>Posted:</strong> 08-Feb-2008 at 9:50am<br /><br />Just a thought, you probably shouldn't be setting your boolean property based on cell values changing in your DataGridView.&nbsp; This tightly couples your entity to the DataGridView.&nbsp; Instead, you may want to consider overriding the OnPropertyChanged event in your entity and then set your boolean property in that method override.<br><br>--Jeff<br><span style="font-size:10px"><br /><br />Edited by jeffdoolittle - 08-Feb-2008 at 9:50am</span>]]>
   </description>
   <pubDate>Fri, 08 Feb 2008 09:50:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=677&amp;PID=2526#2526</guid>
  </item> 
  <item>
   <title>Entity.RowState : Thanks Jeff  I ended up creating...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=677&amp;PID=2525#2525</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=69" rel="nofollow">Darren</a><br /><strong>Subject:</strong> 677<br /><strong>Posted:</strong> 08-Feb-2008 at 6:32am<br /><br />Thanks Jeff<DIV>&nbsp;</DIV><DIV>I ended up creating a RowToPersist boolean property of the class, and set it value after any cell value changed in the DataGridView.</DIV><DIV>&nbsp;</DIV><DIV>Then just save individual entities from the grid.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 08 Feb 2008 06:32:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=677&amp;PID=2525#2525</guid>
  </item> 
  <item>
   <title>Entity.RowState : If you just created the entities,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=677&amp;PID=2524#2524</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=34" rel="nofollow">jeffdoolittle</a><br /><strong>Subject:</strong> 677<br /><strong>Posted:</strong> 07-Feb-2008 at 8:44pm<br /><br /><P>If you just created the entities, then they are still going to be in the "Added" state until you actually persist them.&nbsp; Entities only go to the state "Modified" if they start in the state "Unchanged".&nbsp; When you create the entities, they will remain in state "Added" until you either persist them (and state will be "Unchanged") or delete them (changing state to "Detached").</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 07 Feb 2008 20:44:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=677&amp;PID=2524#2524</guid>
  </item> 
  <item>
   <title>Entity.RowState : The problem i have is that my...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=677&amp;PID=2516#2516</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=69" rel="nofollow">Darren</a><br /><strong>Subject:</strong> 677<br /><strong>Posted:</strong> 07-Feb-2008 at 9:03am<br /><br />The problem i have is that my entity.rowstate does not seem to change even though i have edited the record.<DIV>&nbsp;</DIV><DIV>I create 10 new blank entities&nbsp;using create method of my developer class.</DIV><DIV>They are then added to a new entitylist, which then in turn populates a datagridview.</DIV><DIV>&nbsp;</DIV><DIV>I enter a value into one of my datagridview cells and jump to the next record.</DIV><DIV>At this point i would have thought that the rowstate changes.</DIV><DIV>&nbsp;</DIV><DIV>Iam missing something here..?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 07 Feb 2008 09:03:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=677&amp;PID=2516#2516</guid>
  </item> 
 </channel>
</rss>