<?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 : PassthruEsqlQuery</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : PassthruEsqlQuery</description>
  <pubDate>Sat, 11 Apr 2026 11:37:25 -700</pubDate>
  <lastBuildDate>Mon, 14 Sep 2009 14:13:10 -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=1470</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>PassthruEsqlQuery : EF is expecting an EntitySet named...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1470&amp;PID=5380#5380</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> 1470<br /><strong>Posted:</strong> 14-Sep-2009 at 2:13pm<br /><br /><P>EF is expecting an EntitySet named "DailyVehicleRoute" in the conceptual model.&nbsp; If you've used the pluralizer, the name is most likely "DailyVehicleRoutes".</P>]]>
   </description>
   <pubDate>Mon, 14 Sep 2009 14:13:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1470&amp;PID=5380#5380</guid>
  </item> 
  <item>
   <title>PassthruEsqlQuery : I am trying to run a query that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1470&amp;PID=5374#5374</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=429" rel="nofollow">mbevins1</a><br /><strong>Subject:</strong> 1470<br /><strong>Posted:</strong> 14-Sep-2009 at 10:09am<br /><br />I am trying to run a query that looks like this:<DIV>&nbsp;</DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><FONT size=2><P>parameterizedEsql = </P></FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2><P>SELECT VALUE oo FROM </P><P></FONT></FONT></FONT></FONT><FONT size=2>Employees </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>AS</FONT></FONT><FONT size=2> oo</P><DIV></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>WHERE</FONT></FONT><FONT size=2> oo</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>EmployeeID </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>NOT</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>IN</FONT></FONT><FONT size=2> </DIV></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2><P>(</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>SELECT</FONT></FONT><FONT size=2> DER</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>EmployeeID </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>FROM</FONT></FONT><FONT size=2> DailyEmployeeRoute </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>as</FONT></FONT><FONT size=2> DER </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>WHERE</FONT></FONT><FONT size=2> DER</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>DailyVehicleRouteID </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>IN</FONT></FONT><FONT size=2> </P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2><P>(</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>SELECT</FONT></FONT><FONT size=2> DailyVehicleRouteID </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>FROM</FONT></FONT><FONT size=2> DailyVehicleRoute </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>as</FONT></FONT><FONT size=2> DVR </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>WHERE</FONT></FONT><FONT size=2> DVR</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>RouteDate </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'9/9/2009'</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>))</FONT></FONT><FONT size=2> </P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2><P>AND</FONT></FONT><FONT size=2> oo</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>isActive </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT size=2>1</P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2><P>AND</FONT></FONT><FONT size=2> oo</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>OperationID </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT size=2> 1</P><DIV></DIV><P>&nbsp;</P><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>var</FONT></FONT><FONT size=2> query = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>new</FONT></FONT><FONT size=2> </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>PassthruEsqlQuery</FONT></FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>typeof</FONT></FONT><FONT size=2>(</FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Employee</FONT></FONT><FONT size=2>), parameterizedEsql);</P><DIV></DIV><DIV></DIV>When i run it I get this error:<DIV></DIV><DIV></DIV>'DailyEmployeeRoute' could not be resolved in the current scope or context. Make sure that all referenced variables are in scope, that required schemas are loaded, and that namespaces are referenced correctly.<DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>How do I go about running a query like this?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Mon, 14 Sep 2009 10:09:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1470&amp;PID=5374#5374</guid>
  </item> 
 </channel>
</rss>