<?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 : Union on EntityQueryPagedCollectionView</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Union on EntityQueryPagedCollectionView</description>
  <pubDate>Mon, 15 Jun 2026 06:49:01 -700</pubDate>
  <lastBuildDate>Thu, 24 Mar 2011 17:19: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=2568</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>Union on EntityQueryPagedCollectionView : Hi rowell_21;Unfortunately what...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2568&amp;PID=10279#10279</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> 2568<br /><strong>Posted:</strong> 24-Mar-2011 at 5:19pm<br /><br />Hi rowell_21;<div><br></div><div>Unfortunately what you're asking won't work using EntityQueryPagedCollectionView. I only have 2 suggestions at this time.</div><div><br></div><div>1. Try using a different type of grid.</div><div><br></div><div>2. Don't use Union and instead store that record in the database.</div>]]>
   </description>
   <pubDate>Thu, 24 Mar 2011 17:19:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2568&amp;PID=10279#10279</guid>
  </item> 
  <item>
   <title>Union on EntityQueryPagedCollectionView : Hi DenisK,Thank you for your response.Here&amp;#039;s...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2568&amp;PID=10275#10275</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1101" rel="nofollow">rowell_21</a><br /><strong>Subject:</strong> 2568<br /><strong>Posted:</strong> 24-Mar-2011 at 8:54am<br /><br />Hi DenisK,<div><br></div><div>Thank you for your response.</div><div>Here's what I need to do:</div><div><br></div><div>I have one table named "Services" which has two columns, &#091;ServiceId&#093; int and &#091;ServiceName&#093; varchar.</div><div><br></div><div>I need to bind this to a grid but I need to have a row that has zero(0) for ServiceId and "All Services" for ServiceName.</div><div><br></div><div>I used to do this in stored procedure by a sample query below:</div><div><br></div><div>SELECT 0 AS &#091;ServiceId&#093;, 'All Services' AS &#091;ServiceName&#093;</div><div>UNION</div><div>SELECT ServiceId, ServiceName FROM Services</div><div><br></div><div>this would result to:</div><div><br></div><div>ServiceId &nbsp; ServiceName</div><div>0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; All Services</div><div>1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Service1</div><div>2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Service2</div><div>3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Service3</div><div>.....</div><div><br></div><div><br></div><div>I would like to put a paging in my results to minimize traffic when loading all results.</div><div><br></div><div>Thanks.</div>]]>
   </description>
   <pubDate>Thu, 24 Mar 2011 08:54:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2568&amp;PID=10275#10275</guid>
  </item> 
  <item>
   <title>Union on EntityQueryPagedCollectionView : Hi rowell_21;I&amp;#039;m not sure...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2568&amp;PID=10251#10251</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> 2568<br /><strong>Posted:</strong> 22-Mar-2011 at 3:43pm<br /><br />Hi rowell_21;<div><br></div><div>I'm not sure I follow your question. EntityQueryPagedCollectionView only works with an EntityQuery&lt;T&gt; and you can't access each individual row to modify the results.</div><div><br></div><div>Perhaps if you can elaborate your use case further, I can give you better suggestions.</div>]]>
   </description>
   <pubDate>Tue, 22 Mar 2011 15:43:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2568&amp;PID=10251#10251</guid>
  </item> 
  <item>
   <title>Union on EntityQueryPagedCollectionView : Is it possible to use union to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2568&amp;PID=10192#10192</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1101" rel="nofollow">rowell_21</a><br /><strong>Subject:</strong> 2568<br /><strong>Posted:</strong> 16-Mar-2011 at 11:27pm<br /><br />Is it possible to use union to add a new row on top of the results being queried?<div><br></div><div>I need to add something like "All Records" in the results and I'm using EntityQueryPagedCollectionView object and does not have a way to modify it before binding to a grid.</div><div><br></div><div>My results should look like this:</div><div><br></div><div>Id -&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>Name</div><div>0 -&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>All Records</div><div>1 -&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>Record1</div><div>2 -&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>Record2</div><div>3 -&nbsp;<span ="Apple-tab-span" style="white-space:pre">	</span>Record3</div><div>...</div><div><br></div><div><br></div><div>I used to do it in stored procedure by having a union of the "All Records" row to the actual resort before returning it.</div><div><br></div><div><br></div><div>Thanks.</div>]]>
   </description>
   <pubDate>Wed, 16 Mar 2011 23:27:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2568&amp;PID=10192#10192</guid>
  </item> 
 </channel>
</rss>