<?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 : Mapping Dynamic SQL with IdeaBlade</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Mapping Dynamic SQL with IdeaBlade</description>
  <pubDate>Wed, 13 May 2026 05:46:38 -700</pubDate>
  <lastBuildDate>Wed, 16 May 2012 13:19:07 -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=3218</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>Mapping Dynamic SQL with IdeaBlade : Hi stevef,You&amp;#039;re correct...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=13586#13586</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3218<br /><strong>Posted:</strong> 16-May-2012 at 1:19pm<br /><br />Hi stevef,<div><br></div><div>You're correct that DF doesn't provide those 2 Execute* methods. As I mention above, you can create an ObjectContext by passing in the EdmKey.ConnectionString to the constructor. We recommend that you do this on the server via InvokeServerMethod.</div><div><br></div><div>You've probably already known this but EntityFramework (thus DevForce as well) doesn't currently support importing StoredProcs with TVP. (<a href="http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/29bcd888-6d79-4f60-8858-3a11a650018b" target="_blank">http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/29bcd888-6d79-4f60-8858-3a11a650018b</a>)</div>]]>
   </description>
   <pubDate>Wed, 16 May 2012 13:19:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=13586#13586</guid>
  </item> 
  <item>
   <title>Mapping Dynamic SQL with IdeaBlade :   Actually, I see a need to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=13581#13581</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1207" rel="nofollow">stevef</a><br /><strong>Subject:</strong> 3218<br /><strong>Posted:</strong> 15-May-2012 at 2:04pm<br /><br />Actually, I see a need to access ObjectContext as well, since it seems (or I simply can't find how to do it in DF) that DF is missing the ExecuteStoredCommand() and ExecuteStoreQuery() functions.&nbsp; These would be required if you would like to do something like calling a stored proc that takes tabled-value parameter.&nbsp; <div>&nbsp;</div><div>Any ideas on how to make that happen?</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 15 May 2012 14:04:47 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=13581#13581</guid>
  </item> 
  <item>
   <title>Mapping Dynamic SQL with IdeaBlade : Well, it&amp;#039;s not &amp;#034;wrong&amp;#034;....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=12498#12498</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3218<br /><strong>Posted:</strong> 19-Jan-2012 at 2:49pm<br /><br /><div>Well, it's not "wrong". It's just not recommended. If you insist on calling the ObjectContext directly, use it sparingly since if you're using it too much, that'll defeat the purpose of having DevForce.</div><div><br></div><div>You can create your own ObjectContext by passing in the ClientEdmKey.ConnectionString to its constructor.</div><div><br></div><div>However, before you do so, I'm really curious as to the original problem. What exactly is the exception you're getting? Do you get the exception when you try to map the Dynamic SQL StoredProc to your edmx?</div>]]>
   </description>
   <pubDate>Thu, 19 Jan 2012 14:49:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=12498#12498</guid>
  </item> 
  <item>
   <title>Mapping Dynamic SQL with IdeaBlade :   Hello Denisk,it&amp;#039;s a dynamic...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=12491#12491</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3218<br /><strong>Posted:</strong> 18-Jan-2012 at 11:22pm<br /><br />Hello Denisk,<div>it's a dynamic query with a pivot grid... for now I reverted to ADO.net and a generic object I map... just a question, it's wrong to create in a Devforce Application Framework a wcf service and handle in an old way the stuffs? I found no way for calling ADO .NET directly from IdeaBlade</div>]]>
   </description>
   <pubDate>Wed, 18 Jan 2012 23:22:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=12491#12491</guid>
  </item> 
  <item>
   <title>Mapping Dynamic SQL with IdeaBlade : Hi Paolo,I&amp;#039;m not sure I understand...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=12482#12482</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3218<br /><strong>Posted:</strong> 18-Jan-2012 at 11:35am<br /><br />Hi Paolo,<div><br></div><div>I'm not sure I understand the exception and I'm not entirely convinced that DevForce is at play here. Have you tried mapping without using DevForce and see if that succeeds?</div>]]>
   </description>
   <pubDate>Wed, 18 Jan 2012 11:35:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=12482#12482</guid>
  </item> 
  <item>
   <title>Mapping Dynamic SQL with IdeaBlade : Hello IdeaBlade,I&amp;#039;ve got...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=12471#12471</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1136" rel="nofollow">pponzano</a><br /><strong>Subject:</strong> 3218<br /><strong>Posted:</strong> 17-Jan-2012 at 1:05am<br /><br />Hello IdeaBlade,<br>I've got a problem with mapping an object... in a Master-Detail gridview I need to give the possibility to export particular calculated data for the whold grid... I've got a stored procedure that performs this calculation<br><br>SELECT &lt;somefields&gt;<br>INTO #tmp<br>FROM source<br><br>DECLARE @COLUMNS VARCHAR(8000)<br><br>	SELECT @COLUMNS = COALESCE(@COLUMNS + ',&#091;' + CAST(&#091;CODICE CAMPO&#093; AS VARCHAR) + '&#093;', '&#091;' + cast(&#091;CODICE CAMPO&#093; as varchar)+ '&#093;')<br>	FROM #tmp<br>	GROUP BY &#091;CODICE CAMPO&#093;<br>	ORDER BY &#091;CODICE CAMPO&#093;<br><br>	DECLARE @QUERY VARCHAR(8000)<br><br>	SET @QUERY = 'SELECT * FROM #tmp PIVOT (MAX(&#091;VALORE CAMPO&#093;) FOR &#091;CODICE CAMPO&#093; IN (' + @COLUMNS + ')) AS P'<br><br>	EXECUTE(@QUERY)<br><br>I got an exception that 'xxx' cannot be mapped....<br>any suggestion?<br>]]>
   </description>
   <pubDate>Tue, 17 Jan 2012 01:05:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3218&amp;PID=12471#12471</guid>
  </item> 
 </channel>
</rss>