<?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 : Stored Procedure Issue</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Stored Procedure Issue</description>
  <pubDate>Sat, 11 Apr 2026 20:33:14 -700</pubDate>
  <lastBuildDate>Mon, 15 Jun 2009 19:02:08 -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=1321</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>Stored Procedure Issue : This would be a bug. The Entity...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1321&amp;PID=4768#4768</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> 1321<br /><strong>Posted:</strong> 15-Jun-2009 at 7:02pm<br /><br />This would be a bug.&nbsp; The Entity Framework strips off key properties when any type of query is run, while DevForce does some fixup to add these properties back, in the form of the xx_fk_yy synthetic properties you see for entities in the domain model.&nbsp; Unfortunately, DevForce isn't currently doing this fixup for the results of a stored procedure, with inconsistent and incorrect results.&nbsp; <DIV>&nbsp;</DIV><DIV>We've opened a defect report for this.&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 15 Jun 2009 19:02:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1321&amp;PID=4768#4768</guid>
  </item> 
  <item>
   <title>Stored Procedure Issue : Hi,   We&amp;#039;re attempting...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1321&amp;PID=4763#4763</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> 1321<br /><strong>Posted:</strong> 15-Jun-2009 at 11:27am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>We're attempting to use a stored prodecure to pull in data.&nbsp; We've successfully imported the stored procedure, and have run the stored procedure 'successfully', meaning we've got data back from the stored procedure.&nbsp; The problem is, it seems that the records we're getting back are missing some data.&nbsp; Everything that is missing appears to be a foreign key to another table.&nbsp; If the foreign key is nullable, the field value is null.&nbsp; If the foreign key is not nullable, an exception is thrown.&nbsp; I'm not even attempting to access the navigation properties, I'm literally trying to get at the keys, and the keys are bad.&nbsp; When we run the stored proc in the database, the data returned is correct.</DIV><DIV>&nbsp;</DIV><DIV>Is this expected?&nbsp; Any idea what's going on?</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Ken</DIV><span style="font-size:10px"><br /><br />Edited by ken.nelson - 15-Jun-2009 at 11:28am</span>]]>
   </description>
   <pubDate>Mon, 15 Jun 2009 11:27:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1321&amp;PID=4763#4763</guid>
  </item> 
 </channel>
</rss>