<?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 : Where can I find info/documentation about &quot;Adding API for composing dynamic queries&quot; in the 5.2.2 release</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Where can I find info/documentation about &quot;Adding API for composing dynamic queries&quot; in the 5.2.2 release</description>
  <pubDate>Tue, 28 Apr 2026 22:35:42 -700</pubDate>
  <lastBuildDate>Fri, 30 Oct 2009 00:15:43 -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=1458</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>Where can I find info/documentation about &quot;Adding API for composing dynamic queries&quot; in the 5.2.2 release : Yeah for the situation I want...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5712#5712</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=441" rel="nofollow">*Calsy</a><br /><strong>Subject:</strong> 1458<br /><strong>Posted:</strong> 30-Oct-2009 at 12:15am<br /><br /><P>Yeah for the situation I want to use it in I need to provide the nested query property&nbsp;as a string i.e. "Supplier.CompanyName". This is so we can dynamically build up our filter.</P><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Fri, 30 Oct 2009 00:15:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5712#5712</guid>
  </item> 
  <item>
   <title>Where can I find info/documentation about &quot;Adding API for composing dynamic queries&quot; in the 5.2.2 release : Unfortunately the PredicateDescription...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5711#5711</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> 1458<br /><strong>Posted:</strong> 29-Oct-2009 at 6:36pm<br /><br />Unfortunately the PredicateDescription does currently have the limitation that the property exist on the supplied type, but we'll open a bug report for this since it should be possible to query for nested properties.<DIV>&nbsp;</DIV><DIV>The workaround right now would be to use the Expression&lt;Func&lt;T, bool&gt;&gt;&nbsp;syntax of the PredicateBuilder, which may not quite meet your needs ...</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Expression&lt;Func&lt;Product, bool&gt;&gt; crit1 = p =&gt; p.Supplier.CompanyName.Contains("Blah");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var query = entityManager.Products.Where(crit1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var list = query.ToList();<BR></pre></td></tr></table></DIV>]]>
   </description>
   <pubDate>Thu, 29 Oct 2009 18:36:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5711#5711</guid>
  </item> 
  <item>
   <title>Where can I find info/documentation about &quot;Adding API for composing dynamic queries&quot; in the 5.2.2 release : Hi People, Is there any way that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5701#5701</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=441" rel="nofollow">*Calsy</a><br /><strong>Subject:</strong> 1458<br /><strong>Posted:</strong> 28-Oct-2009 at 2:52pm<br /><br />Hi People, Is there any way that we can build subqueries with the predicate builder. e.g. <DIV>var expr1 = new PredicateDescription(entityType, "Supplier.CompanyName", FilterOperator.Contains, "Blah");</DIV><DIV>&nbsp;</DIV><DIV>Or is there a work around to do this?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Wed, 28 Oct 2009 14:52:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5701#5701</guid>
  </item> 
  <item>
   <title>Where can I find info/documentation about &quot;Adding API for composing dynamic queries&quot; in the 5.2.2 release : You can aslo dynamically create...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5344#5344</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> 1458<br /><strong>Posted:</strong> 09-Sep-2009 at 8:01pm<br /><br />You can aslo dynamically create an EntityQuery&lt;T&gt;, where T isn't known until run time.&nbsp; Here's a sample - <DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>var entityType = typeof(Product);</DIV><DIV>var baseQuery = (IQueryable) TypeFns.ConstructGenericInstance(typeof(EntityQuery&lt;&gt;), entityType);</DIV><DIV>var expr1 = new PredicateDescription(entityType, "UnitPrice", FilterOperator.IsGreaterThanOrEqualTo, 24);<BR>var expr2 = new PredicateDescription(entityType, "Discontinued", FilterOperator.IsEqualTo, true);</DIV><DIV>var query = PredicateBuilder.FilterQuery(baseQuery, expr1.And(expr2));</DIV><DIV>var results = _entityManager.ExecuteQuery((IEntityQuery)query);<BR></pre></td></tr></table></DIV><DIV><FONT size=2><P></FONT><FONT size=2>&nbsp;</P></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 09 Sep 2009 20:01:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5344#5344</guid>
  </item> 
  <item>
   <title>Where can I find info/documentation about &quot;Adding API for composing dynamic queries&quot; in the 5.2.2 release : That description refers to the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5343#5343</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=4" rel="nofollow">GregD</a><br /><strong>Subject:</strong> 1458<br /><strong>Posted:</strong> 09-Sep-2009 at 5:26pm<br /><br /><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb31, 73, 125; font-size: 11pt;">That description refers to the material described in the <a href="../DevforceSilverlight/DevForceSilverlight_&#068;ocumentati&#111;n.aspx" target="_blank">release notes</a> and <a href="../DevforceSilverlight/DevForceSilverlight_&#068;ocumentati&#111;n.aspx" target="_blank">developers&#146; guide</a> under&#133; the following headings:<br><br><o:p></o:p></span></font><div ="Secti&#111;n1"><div ="Ms&#111;normal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb31, 73, 125; font-size: 11pt;">Ideablade.Linq.PredicateBuilder<br></span></font></div><div ="Ms&#111;normal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb31, 73, 125; font-size: 11pt;">Ideablade.Linq.PredicateDescription<o:p></o:p></span></font></div><div ="Ms&#111;normal"><font color="#1f497d" face="Calibri" size="2"><span style="color: rgb31, 73, 125; font-size: 11pt;"><o:p>&nbsp;</o:p></span></font></div></div>]]>
   </description>
   <pubDate>Wed, 09 Sep 2009 17:26:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5343#5343</guid>
  </item> 
  <item>
   <title>Where can I find info/documentation about &quot;Adding API for composing dynamic queries&quot; in the 5.2.2 release : I&amp;#039;ve looked through the release...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5337#5337</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> 1458<br /><strong>Posted:</strong> 08-Sep-2009 at 4:47pm<br /><br />I've looked through the release notes as well as&nbsp;the reference help and the developers guide but didn't see any mention of one of the new features mentioned in the forum post that announced the new release; <EM>Adding API for composing dynamic queries.</EM><DIV>&nbsp;</DIV><DIV>Was this referring to the PredicateDescription and building dynamic <EM>filters</EM> (I was hoping for dynamic <EM>queries</EM> where the type could also be specified in the same way you're specifying the field as a string in the PredicateDescription)?</DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV>]]>
   </description>
   <pubDate>Tue, 08 Sep 2009 16:47:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1458&amp;PID=5337#5337</guid>
  </item> 
 </channel>
</rss>