<?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 : EF and Foreign Keys/Entities</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : EF and Foreign Keys/Entities</description>
  <pubDate>Wed, 10 Jun 2026 15:41:44 -700</pubDate>
  <lastBuildDate>Thu, 26 Aug 2010 14:02: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=2098</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>EF and Foreign Keys/Entities : Hmmm. Also check that the properties...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2098&amp;PID=8224#8224</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2098<br /><strong>Posted:</strong> 26-Aug-2010 at 2:02pm<br /><br /><P>Hmmm.&nbsp; Also check that the properties on the association itself show the correct multiplicity.&nbsp; </P><DIV>I would also look at the xml in the EDMX directly to see that both the SSDL and CSDL definitions are what you expect.</DIV>]]>
   </description>
   <pubDate>Thu, 26 Aug 2010 14:02:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2098&amp;PID=8224#8224</guid>
  </item> 
  <item>
   <title>EF and Foreign Keys/Entities : Thanks Kim, we&amp;#039;ll make sure...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2098&amp;PID=8220#8220</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=452" rel="nofollow">ken.nelson</a><br /><strong>Subject:</strong> 2098<br /><strong>Posted:</strong> 26-Aug-2010 at 1:18pm<br /><br />Thanks Kim, we'll make sure to try out 6.0.5 when it's released.<DIV>&nbsp;</DIV><DIV>That's definitely part of why it's confusing.&nbsp; The muliplicity in the database seem correct, and also seem correct in the generated model.&nbsp; The UnitCycle entity class has a SourcingDecisions navigation property, with a Multiplicity of * (Many) and a Return Type indicating "Collection of SourcingDecision", and the SourcingDecision entity class has a UnitCycle navigation property with a Multiplicity of 0..1 (Zero or One) and a Return Type indicating "Instance of UnitCycle".&nbsp; This seems to match up with other navigation properties' multiplicities in our model.</DIV><DIV>&nbsp;</DIV><DIV><img src="http://www.ideablade.com/forum/uploads/452/1.png" height="346" width="446" border="0" /></DIV><DIV>&nbsp;</DIV><DIV><img src="http://www.ideablade.com/forum/uploads/452/2.png" height="327" width="435" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 26 Aug 2010 13:18:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2098&amp;PID=8220#8220</guid>
  </item> 
  <item>
   <title>EF and Foreign Keys/Entities : You&amp;#039;re right that there should...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2098&amp;PID=8215#8215</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2098<br /><strong>Posted:</strong> 26-Aug-2010 at 12:18pm<br /><br />You're right that there should be no difference whether the FK property value&nbsp;is assigned directly or the associated navigation property is assigned.&nbsp; Over the past few years (since the initial release of DevForce 2009) we have had several bugs - all fixed I believe - with assignments in&nbsp;1 - 0..1 scenarios, so that's likely how you came to be using the FK directly. <DIV>&nbsp;</DIV><DIV>I don't have an explanation for the issue you see, since I can't reproduce it in 6.0.4 or current bits.&nbsp;&nbsp;I'm confused about this association, however, since the error message "<FONT size=2><FONT face="Courier New"><strong>'ProModel_AST_DB.FK_SourcingDecision_UnitCycle' has multiplicity 1 or 0..1"</strong> <FONT face="Verdana, Arial, Helvetica, sans-serif">would indicate this isn't a 0..1 to many relationship and you shouldn't have been able to have multiple child SourceDecisions&nbsp;for a single UnitCycle to start with,&nbsp;so the relationship should be UnitCycle (0..1) - SourceDecision (M).&nbsp; If the current multiplicity is correct, then it's possible DevForce has misidentified the parent/child roles.&nbsp; If you see a generated _fk property in either of these classes, or any incorrectly defined navigation properties, then it's likely the roles were misidentified.&nbsp; We've done some work to fix this in 6.0.5, which will be officially released next week, so you may want to upgrade to see if the odd behavior goes away.</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New"><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT></FONT></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 26 Aug 2010 12:18:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2098&amp;PID=8215#8215</guid>
  </item> 
  <item>
   <title>EF and Foreign Keys/Entities : This isn&amp;#039;t really a DevForce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2098&amp;PID=8209#8209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=452" rel="nofollow">ken.nelson</a><br /><strong>Subject:</strong> 2098<br /><strong>Posted:</strong> 26-Aug-2010 at 9:16am<br /><br /><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2>This isn't really a DevForce issue, more of an Entity Framework one, and a rather confusing one to us.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>We started using DevForce/EF over a year and a half ago, and at that time it seemed that the proper/only way of assigning a foreign-key relationship was to set the child's foreign key&nbsp;to the parent's ID, instead of assigning the child's parent entity property to the new parent entity.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>It could be that we prematurely jumped to this conclusion, but it was the only way we could get things to work at the time.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN><?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2>That said, we just spent over a day trying to track down an issue that we hadn't seen before.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>We've a parent/child relationship as described above, where the child table (SourcingDecision) has a foreign-key relationship to the parent (UnitCycle) via SourcingDecision.UnitCycleID &lt;==&gt; UnitCycle.UniqueID.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>SourcingDecision.UnitCycleID is nullable, so the relationship is a 0/1 to many.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The model generated agrees with this relationship, and sets up the entities properly.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>We had a situation where we had a single UnitCycle, and two SourcingDecisions with both SourcingDecisions pointing to the same UnitCycle (child A to parent A, child B to parent A).<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>We wanted to create a second UnitCycle, and assign one of the SourcingDecisions to the new UnitCycle (child A to parent A, child B to parent B).<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Normally what we would do in this case would be to set SourcingDecision B's UnitCycleID property to the new UnitCycle.UniqueID (EntityState == Added), however when saving changes, we would receive the exception below.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>For whatever reason, it seems the Entity Framework believes that we're attempting to add a second UnitCycle to a single SourcingDecision (child B to parent A and B) which is definitely not allowed.<o:p></o:p></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2>The workaround appears to be just to assign the entities directly.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>In other words, instead of:<o:p></o:p></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>UnitCycle unitCycle = new UnitCycle();<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>entityManager.AddEntity(unitCycle);<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2><strong>&nbsp;</strong></FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>sourcingDecision.UnitCycleID = unitCycle.UniqueID;<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>entityManager.SaveChanges();<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2>What works is:<o:p></o:p></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>UnitCycle unitCycle = new UnitCycle();<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>entityManager.AddEntity(unitCycle);<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2><strong>&nbsp;</strong></FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>sourcingDecision.UnitCycle = unitCycle;<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>entityManager.SaveChanges();<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2>But... why?<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Why does assigning the key and saving result in an exception where assigning the entity and saving does not.<o:p></o:p></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=2>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>A first chance exception of type 'IdeaBlade.EntityModel.EntityManagerSaveException' occurred in IdeaBlade.EntityModel.dll<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>Multiplicity constraint violated. The role 'UnitCycle' of the relationship 'ProModel_AST_DB.FK_SourcingDecision_UnitCycle' has multiplicity 1 or 0..1.<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.EntityModel.EntityManager.HandleSaveResultException(SaveWorkState saveWorkState, Boolean isAsyncOp)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.EntityModel.EntityManager.SaveChangesCore(IEnumerable entities, SaveOptions saveOptions)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.EntityModel.EntityManager.SaveChanges(IEnumerable entities, SaveOptions saveOptions)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.EntityModel.EntityManager.SaveChanges()<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at AST.Common.Sourcing.LockSmith.Unlock(IEnumerable`1 entityInfos) in C:\_source\AST\Current\Common\Sourcing\LockSmith.cs:line 90<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at AST.Web.SourcingService.Source(Guid userID, Guid coaID, ConcurrencyEntityInfo requirementInfo, ConcurrencyEntityInfo unitInfo, SourcingDecisionOptions options) in C:\_source\AST\Current\Web\SourcingService.svc.cs:line 62<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>Multiplicity constraint violated. The role 'UnitCycle' of the relationship 'ProModel_AST_DB.FK_SourcingDecision_UnitCycle' has multiplicity 1 or 0..1.<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.EntityReference`1.AddToLocalCache(IEntityWrapper wrappedEntity, Boolean applyConstraints)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.EntityEntry.TakeSnapshotOfSingleRelationship(RelatedEnd relatedEnd, NavigationProperty n, Object o)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.EntityEntry.TakeSnapshotOfRelationships()<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.Internal.EntityWrapperWithoutRelationships`1.TakeSnapshotOfRelationships(EntityEntry entry)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.ObjectContext.AddSingleObject(EntitySet entitySet, IEntityWrapper wrappedEntity, String argumentName)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.RelatedEnd.AddEntityToObjectStateManager(IEntityWrapper wrappedEntity, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.RelatedEnd.AddGraphToObjectStateManager(IEntityWrapper wrappedEntity, Boolean relationshipAlreadyExists, Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.RelatedEnd.IncludeEntity(IEntityWrapper wrappedEntity, Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.EntityCollection`1.Include(Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.RelatedEnd.WalkObjectGraphToIncludeAllRelatedEntities(IEntityWrapper wrappedEntity, Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.RelatedEnd.AddGraphToObjectStateManager(IEntityWrapper wrappedEntity, Boolean relationshipAlreadyExists, Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.RelatedEnd.IncludeEntity(IEntityWrapper wrappedEntity, Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.EntityReference`1.Include(Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.RelatedEnd.WalkObjectGraphToIncludeAllRelatedEntities(IEntityWrapper wrappedEntity, Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.RelatedEnd.AddGraphToObjectStateManager(IEntityWrapper wrappedEntity, Boolean relationshipAlreadyExists, Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.RelatedEnd.IncludeEntity(IEntityWrapper wrappedEntity, Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.EntityCollection`1.Include(Boolean addRelationshipAsUnchanged, Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.DataClasses.RelationshipManager.AddRelatedEntitiesToObjectStateManager(Boolean doAttach)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Data.Objects.ObjectContext.AddObject(String entitySetName, Object entity)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.EntityModel.Edm.EdmSaveHelper.AddObjectStateEntry(Entity entity, EntityMetadata metadata)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.EntityModel.Edm.EdmSaveHelper.HandleModified(Entity entity, EntityMetadata metadata)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.EntityModel.Edm.EdmSaveHelper.ProcessEntity(Entity entity, EntityMetadata metadata)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.EntityModel.Edm.EdmSaveHelper.ProcessSaves(IEnumerable`1 groupsByType)<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.EntityModel.Edm.EdmSaveHelper.SaveWithinContext()<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at IdeaBlade.EntityModel.Edm.EdmSaveHelper.Save()<o:p></o:p></strong></FONT></SPAN></P><P style="MARGIN: 0in 0in 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=2><strong>The thread '&lt;No Name&gt;' (0x12b4) has exited with code 0 (0x0).<o:p></o:p></strong></FONT></SPAN></P>]]>
   </description>
   <pubDate>Thu, 26 Aug 2010 09:16:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2098&amp;PID=8209#8209</guid>
  </item> 
 </channel>
</rss>