<?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 : Query Search Many to many</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Query Search Many to many</description>
  <pubDate>Sat, 11 Apr 2026 17:41:25 -700</pubDate>
  <lastBuildDate>Fri, 08 Oct 2010 12:07:38 -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=2215</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>Query Search Many to many : Hi DenisThanks for help.. This...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2215&amp;PID=8752#8752</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=896" rel="nofollow">bala</a><br /><strong>Subject:</strong> 2215<br /><strong>Posted:</strong> 08-Oct-2010 at 12:07pm<br /><br />Hi Denis<br><br>Thanks for help.. This code works..<br><br><br>]]>
   </description>
   <pubDate>Fri, 08 Oct 2010 12:07:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2215&amp;PID=8752#8752</guid>
  </item> 
  <item>
   <title>Query Search Many to many : Hi Bala;Could you try and change...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2215&amp;PID=8731#8731</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> 2215<br /><strong>Posted:</strong> 06-Oct-2010 at 11:12am<br /><br />Hi Bala;<div><br></div><div>Could you try and change your query as follows</div><div><br></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">_em.PESSOA_PROFISSAO_GRUPOS</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">.Where(f&nbsp;=&gt;&nbsp;f.ID_PESSOA_PROFISSAO_GRUPO&nbsp;==&nbsp;PessoaProfissaoGrupo.ID_PESSOA_PROFISSAO_GRUPO)</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">.Include(f =&gt; PESSOA_PROFISSAO)</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">.ExecuteAsync(op =&gt;</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">{</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">//Rest of the code here</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">});</span></div>]]>
   </description>
   <pubDate>Wed, 06 Oct 2010 11:12:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2215&amp;PID=8731#8731</guid>
  </item> 
  <item>
   <title>Query Search Many to many : Hi ThereI have one problem in...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2215&amp;PID=8723#8723</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=896" rel="nofollow">bala</a><br /><strong>Subject:</strong> 2215<br /><strong>Posted:</strong> 06-Oct-2010 at 6:52am<br /><br />Hi There<br><br>I have one problem in searching recrods<br><br>When I search record first time it return nothing in first click but second click<br>it returning the records...<br>I using following code.<br>Where Is Mistake?<br><p>&nbsp;ObservableCollection&lt;PESSOA_PROFISSAO&gt;&nbsp;Profissoes&nbsp;=&nbsp;new&nbsp;ObservableCollection&lt;PESSOA_PROFISSAO&gt;();</p>_em.PESSOA_PROFISSAO_GRUPOS.Where(f&nbsp;=&gt;&nbsp;f.ID_PESSOA_PROFISSAO_GRUPO&nbsp;==&nbsp;PessoaProfissaoGrupo.ID_PESSOA_PROFISSAO_GRUPO).ExecuteAsync(op&nbsp;=&gt;<br><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(op.IsCompleted)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;op.Results.FirstOrDefault().PESSOA_PROFISSAO.ForEach(Profissoes.Add);</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;agDataGrid3.DataSource&nbsp;=&nbsp;Profissoes;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBox.Show(op.Error.Message);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});</p>Thanks<br>]]>
   </description>
   <pubDate>Wed, 06 Oct 2010 06:52:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2215&amp;PID=8723#8723</guid>
  </item> 
 </channel>
</rss>