<?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 Procedures - OUT parameters</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Stored Procedures - OUT parameters</description>
  <pubDate>Wed, 13 May 2026 20:28:31 -700</pubDate>
  <lastBuildDate>Mon, 29 Aug 2011 08:49:38 -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=2041</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 Procedures - OUT parameters : Yes. 6.1.2.0 has support for output...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=11561#11561</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=543" rel="nofollow">pk55</a><br /><strong>Subject:</strong> 2041<br /><strong>Posted:</strong> 29-Aug-2011 at 8:49am<br /><br />Yes. 6.1.2.0 has support for output parms and they work on async calls (I've tested both with SQL Server 2008 r2).]]>
   </description>
   <pubDate>Mon, 29 Aug 2011 08:49:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=11561#11561</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters : Are output parameterssupported...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=11560#11560</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1166" rel="nofollow">daw451</a><br /><strong>Subject:</strong> 2041<br /><strong>Posted:</strong> 29-Aug-2011 at 7:47am<br /><br />Are output parameters&nbsp;supported yet? Are they support on async calls?]]>
   </description>
   <pubDate>Mon, 29 Aug 2011 07:47:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=11560#11560</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters : Will do. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10938#10938</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=543" rel="nofollow">pk55</a><br /><strong>Subject:</strong> 2041<br /><strong>Posted:</strong> 10-Jun-2011 at 1:04pm<br /><br />Will do.]]>
   </description>
   <pubDate>Fri, 10 Jun 2011 13:04:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10938#10938</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters :   OK, but get in touch with...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10937#10937</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> 2041<br /><strong>Posted:</strong> 10-Jun-2011 at 1:02pm<br /><br />OK, but get in touch with Derick or Michael, since we need to get this prioritized with some other things planned for the next few releases.]]>
   </description>
   <pubDate>Fri, 10 Jun 2011 13:02:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10937#10937</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters : Thanks Kim.   One of the main...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10936#10936</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=543" rel="nofollow">pk55</a><br /><strong>Subject:</strong> 2041<br /><strong>Posted:</strong> 10-Jun-2011 at 12:50pm<br /><br />Thanks Kim.&nbsp; <DIV>&nbsp;</DIV><DIV>One of the main reasons to use an output parm is that EF doesn't send back the Stored Procedure's&nbsp;return code which is a huge failure on their part (at least in my opinion).&nbsp; Since we've got an existing Windows-based product that has to integrate with the SL/WPF-browser product, we can't change the way those procedures work so either our .net code would have to ignore the SP return code (not really an option for error handling) or we'll write wrapper SPs that we call from the .net side that in turn call the real SP and were planning on stuffing the actual return code from the real stored procedures into the output parm of the wrapper.&nbsp; If the output parms don't' bubble back up through DevForce, we'd have to create a complex type that encompasses both the return code from the SP and whatever result set it returns and always return a row even if there's a faillure so we can access the return code.&nbsp; A kludge at best and doesn't really work if the SP maps instead to an entity set.</DIV><DIV>&nbsp;</DIV><DIV>If DevForce supports the output parms, then at least the return code can be handled in a common way regardless of whether the returned set is mapped to an entity or a complex type.</DIV><DIV>&nbsp;</DIV><DIV>So we'll proceed with using output parms and 'assume' you'll have this in sometime this summer.</DIV>]]>
   </description>
   <pubDate>Fri, 10 Jun 2011 12:50:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10936#10936</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters :   There shouldn&amp;#039;t be any...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10935#10935</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> 2041<br /><strong>Posted:</strong> 10-Jun-2011 at 12:35pm<br /><br />There shouldn't be any dependency on EF 4.1, this is just something we haven't implemented.&nbsp; We will be supporting EF 4.1 in a summer release though.]]>
   </description>
   <pubDate>Fri, 10 Jun 2011 12:35:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10935#10935</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters : Will this working in 6.1.2 depend...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10934#10934</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=543" rel="nofollow">pk55</a><br /><strong>Subject:</strong> 2041<br /><strong>Posted:</strong> 10-Jun-2011 at 12:29pm<br /><br />Will this working in 6.1.2 depend in any way on EF 4.1 or would it work with EF4.0?]]>
   </description>
   <pubDate>Fri, 10 Jun 2011 12:29:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10934#10934</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters :   Hi pk55,This isn&amp;#039;t really...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10933#10933</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> 2041<br /><strong>Posted:</strong> 10-Jun-2011 at 12:24pm<br /><br />Hi pk55,<div>&nbsp;</div><div>This isn't really a bug, we just don't yet support out parameters from stored procedures.&nbsp;&nbsp; We've got a new release coming next week so won't be getting this working by then, but we can take a look at this for the following release, which would be 6.1.2 in late July.&nbsp; Can you contact your accout executive about this, so we can determine the priority and timing?</div>]]>
   </description>
   <pubDate>Fri, 10 Jun 2011 12:24:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10933#10933</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters : Any chance we can get anupdate...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10929#10929</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=543" rel="nofollow">pk55</a><br /><strong>Subject:</strong> 2041<br /><strong>Posted:</strong> 10-Jun-2011 at 9:20am<br /><br /><P>Any chance we can get an&nbsp;update on this?&nbsp; I've got a lot of stored procedures to change if this bug isn't corrected.</P><DIV>:-(</DIV>]]>
   </description>
   <pubDate>Fri, 10 Jun 2011 09:20:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10929#10929</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters : Any update on this problem?  We&amp;#039;re...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10915#10915</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=543" rel="nofollow">pk55</a><br /><strong>Subject:</strong> 2041<br /><strong>Posted:</strong> 08-Jun-2011 at 5:54pm<br /><br />Any update on this problem?&nbsp;&nbsp;<DIV>&nbsp;</DIV><DIV>We're using 6.0.9 and output parms aren't being populated.&nbsp; I can execute a function mapped from the stored procedure&nbsp;directly from LinqPad (we build a separate EF context project so that we can use our domain models in LinqPad) and the results show up but when executing the function&nbsp;from the IB generated code on&nbsp;the BOS (so it's just executed synchronously), the function executes, hits the db, returns but no values are in the parms.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>I've tried&nbsp;having the procedure&nbsp;both return any result sets and not return a result and and it doesn't make any difference.</DIV><DIV>I've also tried making the output parms nullable but that doesn't help either.</DIV><DIV>&nbsp;</DIV><DIV>I'm not sure the fact that DevForce is making the parms NULLable is really the problem.&nbsp; I changed the generated designer file to switch the 2 output parms to&nbsp;plain Int32&nbsp; and Int64 (for my case) non-nullable and they still&nbsp;don't get populated.</DIV><DIV>&nbsp;</DIV><DIV>I've had to switch to returning these as a result set row and just map them to a complex type which works just fine. And even with a result set coming back and me iterating over it, the output parms still aren't set.</DIV>]]>
   </description>
   <pubDate>Wed, 08 Jun 2011 17:54:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=10915#10915</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters : Thanks! We&amp;#039;ll take a look. ...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=7965#7965</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> 2041<br /><strong>Posted:</strong> 03-Aug-2010 at 2:41pm<br /><br />Thanks! &nbsp;We'll take a look.<DIV></DIV>]]>
   </description>
   <pubDate>Tue, 03 Aug 2010 14:41:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=7965#7965</guid>
  </item> 
  <item>
   <title>Stored Procedures - OUT parameters : There doesn&amp;#039;t seem to be...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=7954#7954</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=485" rel="nofollow">jsobell</a><br /><strong>Subject:</strong> 2041<br /><strong>Posted:</strong> 03-Aug-2010 at 12:41am<br /><br />There doesn't seem to be proper support for OUT parameters on stored procedures.<br>EF4 generates templates with ObjectParameter types for parameters flagged as OUT, but DF creates these as Nullable&lt;&gt; types, meaning they can't be modified by the underlying code, and as such are effectively non-output!<br><br>Compare the context code for a stored procedure with parameter <br>&nbsp;&nbsp;&nbsp; <font color="#0033cc">@retval INT OUTPUT</font><br>between EF4 native and DF and you'll see the problem.<br>We're currently converting all our SPs to return a row with the integers in, so it's not a show-stopper for us, but it's a bug that needs fixing :)<br><br>]]>
   </description>
   <pubDate>Tue, 03 Aug 2010 00:41:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2041&amp;PID=7954#7954</guid>
  </item> 
 </channel>
</rss>