<?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 : SortSelector and EntityQueryPager</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : SortSelector and EntityQueryPager</description>
  <pubDate>Thu, 14 May 2026 06:55:48 -700</pubDate>
  <lastBuildDate>Tue, 27 Nov 2012 12:32:49 -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=3811</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>SortSelector and EntityQueryPager : Hi mseeli,  Unfortunatelly, the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3811&amp;PID=15284#15284</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3811<br /><strong>Posted:</strong> 27-Nov-2012 at 12:32pm<br /><br />Hi mseeli,<br /><br />Unfortunatelly, the ctor below<br /><br /><em>SortSelector Constructor(String,IPredicateDescription,ListSortDirection)</em><br /><br />will not be of help as you won't be able to invoke a server side function using the EntityQueryPager.<br /><br />sbelini.<br /><br />]]>
   </description>
   <pubDate>Tue, 27 Nov 2012 12:32:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3811&amp;PID=15284#15284</guid>
  </item> 
  <item>
   <title>SortSelector and EntityQueryPager : I have used ThenBy in the SortSelector...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3811&amp;PID=15253#15253</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1485" rel="nofollow">cefernan</a><br /><strong>Subject:</strong> 3811<br /><strong>Posted:</strong> 20-Nov-2012 at 12:16pm<br /><br />I have used ThenBy in the SortSelector and I have solved my problem (more than 1 property).<div><br></div><div>Thanks and sorry to post in the same topic :)</div>]]>
   </description>
   <pubDate>Tue, 20 Nov 2012 12:16:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3811&amp;PID=15253#15253</guid>
  </item> 
  <item>
   <title>SortSelector and EntityQueryPager : I need to create a sort expression...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3811&amp;PID=15244#15244</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1485" rel="nofollow">cefernan</a><br /><strong>Subject:</strong> 3811<br /><strong>Posted:</strong> 19-Nov-2012 at 6:33am<br /><br />I need to create a sort expression with more than one property and different directions, maybe somebody can help me too.<div><br></div><div>Thanks.</div>]]>
   </description>
   <pubDate>Mon, 19 Nov 2012 06:33:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3811&amp;PID=15244#15244</guid>
  </item> 
  <item>
   <title>SortSelector and EntityQueryPager : I have been using EntityQueryPagedCollectionView...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3811&amp;PID=15242#15242</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=945" rel="nofollow">mseeli</a><br /><strong>Subject:</strong> 3811<br /><strong>Posted:</strong> 19-Nov-2012 at 1:11am<br /><br />I have been using EntityQueryPagedCollectionView in DevForce 2010 and am now changing it over to EntityQueryPager in DevForce 2012.<div><br></div><div>I have a rather complex sort expression (One that relyes on a ServerSide Function)</div><div>The current code looks like this</div><div><br></div><div>enq = enq.OrderBy(x =&gt; MySqlLinqFunctions.CacheField(x.Cache, SortFieldIdx));</div><div><br></div><div>where enq is the query that selects the records from the databse and here I add the OrderBy clause to it.</div><div>MySquLinqFunction is a server side function.</div><div><br></div><div>In DevForce 2012 I have to use a SortSelector for my EntityQueryPager</div><div><br></div><div>Can you please give me a hint how to do this?</div><div><br></div><div>I probably should use the constructor</div><div><br></div><div><a href="http://drc.ideablade.com/Api&#068;ocumentati&#111;n2012/IdeaBlade.Linq~IdeaBlade.Linq.SortSelector~_ctor%28String,IPredicateDe&#115;cripti&#111;n,ListSortDirecti&#111;n%29.html" target="_blank">SortSelector Constructor(String,IPredicateDescription,ListSortDirection)</a>&nbsp;</div><div><br></div><div>But I have no Idea what is meant with string MethodName (1st parameter)</div><div>Would I pass x =&gt; MySqlLinqFunctions.CacheField(x.Cache, SortFieldIdx) as the second parameter?</div><div><br></div><div>Thank you&nbsp;</div><div>Markus Seeli</div>]]>
   </description>
   <pubDate>Mon, 19 Nov 2012 01:11:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3811&amp;PID=15242#15242</guid>
  </item> 
 </channel>
</rss>