<?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 : Concurrency column in a Complex Object</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Concurrency column in a Complex Object</description>
  <pubDate>Mon, 13 Apr 2026 17:18:47 -700</pubDate>
  <lastBuildDate>Fri, 20 May 2011 11:03:30 -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=2698</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>Concurrency column in a Complex Object : Yeah.Sorry Dan, I went through...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2698&amp;PID=10770#10770</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 20-May-2011 at 11:03am<br /><br />Yeah.&nbsp;Sorry Dan, I went through a number of permutations in both DF and EF trying to get it to work before I broke the bad news that it doesn't. I really hope EF documentation is improved significantly soon.]]>
   </description>
   <pubDate>Fri, 20 May 2011 11:03:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2698&amp;PID=10770#10770</guid>
  </item> 
  <item>
   <title>Concurrency column in a Complex Object : I was afraid of that. Oh, well,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2698&amp;PID=10767#10767</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=275" rel="nofollow">danielp37</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 20-May-2011 at 7:33am<br /><br />I was afraid of that. &nbsp;Oh, well, it would have been really convenient. &nbsp;I have just gone with removing the ModifiedAt from the ComplexObject and putting it as a regular scalar property on the Entity itself and this appears to be working.]]>
   </description>
   <pubDate>Fri, 20 May 2011 07:33:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2698&amp;PID=10767#10767</guid>
  </item> 
  <item>
   <title>Concurrency column in a Complex Object : Dan,  This limitation seems...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2698&amp;PID=10763#10763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 19-May-2011 at 5:23pm<br /><br />Dan,<DIV>&nbsp;</DIV><DIV>This limitation seems to be with EF itself, as a project in plain EF shows the same behavior as one with DF. For now, I suggest that you check concurrency against simple scalar properties instead, as that definitely works.</DIV><DIV>&nbsp;</DIV><DIV>-- Robert</DIV>]]>
   </description>
   <pubDate>Thu, 19 May 2011 17:23:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2698&amp;PID=10763#10763</guid>
  </item> 
  <item>
   <title>Concurrency column in a Complex Object : Dan,   We should be support...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2698&amp;PID=10758#10758</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 19-May-2011 at 2:42pm<br /><br />Dan, <DIV>&nbsp;</DIV><DIV>We should be support the functionality as EF, in this.&nbsp;I'll research this, and get back to you tomorrow.&nbsp;</DIV><DIV>Thanks,</DIV><DIV>-- Robert</DIV><span style="font-size:10px"><br /><br />Edited by robertg - 19-May-2011 at 4:39pm</span>]]>
   </description>
   <pubDate>Thu, 19 May 2011 14:42:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2698&amp;PID=10758#10758</guid>
  </item> 
  <item>
   <title>Concurrency column in a Complex Object : I have a complex object called...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2698&amp;PID=10757#10757</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=275" rel="nofollow">danielp37</a><br /><strong>Subject:</strong> 2698<br /><strong>Posted:</strong> 19-May-2011 at 1:02pm<br /><br /><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-weight: normal; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">I have a complex object called "AuditInfo" that basically has 4 properties on it: CreatedAt, CreatedBy, ModifiedAt, ModifiedBy.<div><br></div><div>I am trying to set the ModifiedAt as a AutoDateTime concurrency column.</div><div><br></div><div>When I set the Concurrency Stategy to AutoDateTime, I am able to save the object, but the update doesn't update the ModifiedAt to the current DateTime.</div><div><br></div><div>When I set the Concurrency Stategy to Client and set the property during the EntityServerSaveInterceptor.ExecuteSave method, the update statement sets the ModifiedAt field, but it also checks the ModifiedAt column against the new value of ModifiedAt instead of the original value.</div><div><br></div><div>Am I doing something wrong or are concurrency fields on complex objects not supported?</div><div><br></div><div>If I could even have the whole AuditInfo complex type treated as a concurrency property then I could use that but when I set the Concurrency Mode to Fixed on that Property of the Entity it doesn't appear to be checking it for concurrency.</div><div><br></div><div>Dan</div></div>]]>
   </description>
   <pubDate>Thu, 19 May 2011 13:02:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2698&amp;PID=10757#10757</guid>
  </item> 
 </channel>
</rss>