<?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 : Feature request - support ToTraceString() on a per-query basis</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Feature request - support ToTraceString() on a per-query basis</description>
  <pubDate>Thu, 14 May 2026 01:38:11 -700</pubDate>
  <lastBuildDate>Thu, 23 Jun 2011 18:56:27 -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=2793</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>Feature request - support ToTraceString() on a per-query basis : According to this post, http:...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2793&amp;PID=11094#11094</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> 2793<br /><strong>Posted:</strong> 23-Jun-2011 at 6:56pm<br /><br /><P>According to this post,</P><DIV><a href="http://www.ideablade.com/forum/forum_posts.asp?TID=2339&amp;KW=ToTraceString&amp;PID=9720&amp;title=using-max-and-min#9720" target="_blank">http://www.ideablade.com/forum/forum_posts.asp?TID=2339&amp;KW=ToTraceString&amp;PID=9720&amp;title=using-max-and-min#9720</A></DIV><DIV>&nbsp;</DIV><BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr><DIV><EM>Tracing of queries within DevForce can only be done for all queries&nbsp;or limited to those for a specific&nbsp;EdmKey.&nbsp; Afraid there's no way to convert a&nbsp;DevForce EntityQuery into an EF ObjectQuery, and the&nbsp;<SPAN ="highlight">ToTraceString</SPAN> method is not supported on EntityQuery. </EM></DIV></BLOCKQUOTE><DIV>&nbsp;</DIV><DIV>Ideally, I'd love to be able to do exactly that; cast an EntityQuery to an EF ObjectQuery just to get the sql to be executed&nbsp; by calling that method but absent that, isn't there some way you could return the ToTraceString results back after execution of an EntityQuery?&nbsp;Maybe as an option on the query execution?&nbsp;I'm also only interested in this when running a query on the server (sync queries against the datasource).</DIV><DIV>&nbsp;</DIV><DIV>This isn't a request to aid in&nbsp;debugging.&nbsp; For that, I use SQL profiler or LinqPad&nbsp;to see the SQL that a query generates&nbsp;(I have an EF project that generates the domain model that can be used by LinqPad) but I actually need the generated SQL&nbsp; at runtime from our DevForce Domain models on the server from dynamic queries with dynamic predicate descriptions.</DIV><DIV>&nbsp;</DIV><DIV>Any chance this could happen?&nbsp; And if by some chance it can, when might that be?</DIV><span style="font-size:10px"><br /><br />Edited by pk55 - 23-Jun-2011 at 6:56pm</span>]]>
   </description>
   <pubDate>Thu, 23 Jun 2011 18:56:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2793&amp;PID=11094#11094</guid>
  </item> 
 </channel>
</rss>