<?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 : Predicate + Navigation</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Predicate + Navigation</description>
  <pubDate>Mon, 13 Apr 2026 08:08:30 -700</pubDate>
  <lastBuildDate>Mon, 07 Feb 2011 09:29:16 -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=2466</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>Predicate + Navigation : Hi Sivio,  Now I have more one...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2466&amp;PID=9879#9879</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2466<br /><strong>Posted:</strong> 07-Feb-2011 at 9:29am<br /><br />Hi Sivio,<br /><br />Now I have more one problem... =/&nbsp;&nbsp;&nbsp;two tables  (Person) (Person_Email) example :  one person has Zero Or More Person_Email<br /><br />public void Get(Person QueryOperation)<br />{<br />aPredicateDescription = PredicateBuilder.Make(typeof(Person), "Person_Email.Email", FilterOperator.Contains, QueryOperation.Person_Email.First().Email);<br /><br />}<br /><br />show error  (Unable to locate property 'EMAIL' on type 'IdeaBlade.EntityModel.RelatedEntityList`1&#091;Project.Entities.Person_Email&#093;'.)<br /><br />how solve ?<br /><br />thanks  ]]>
   </description>
   <pubDate>Mon, 07 Feb 2011 09:29:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2466&amp;PID=9879#9879</guid>
  </item> 
  <item>
   <title>Predicate + Navigation : Ok.. thanks </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2466&amp;PID=9798#9798</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2466<br /><strong>Posted:</strong> 26-Jan-2011 at 10:04am<br /><br />Ok.. thanks]]>
   </description>
   <pubDate>Wed, 26 Jan 2011 10:04:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2466&amp;PID=9798#9798</guid>
  </item> 
  <item>
   <title>Predicate + Navigation : Hi Molinari,  It will be possible...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2466&amp;PID=9797#9797</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> 2466<br /><strong>Posted:</strong> 26-Jan-2011 at 9:51am<br /><br />Hi Molinari,<DIV>&nbsp;</DIV><DIV>It will be possible in DevForce6.0.8 coming up this week:</DIV><DIV>&nbsp;</DIV><DIV>aPredicateDescription = PredicateBuilder.Make(typeof(Person), "Person_Profile.Id_Person_Profile", FilterOperator.IsEqualTo, QueryOperation.Person_Profile.Id_Person_Profile); <BR><BR>Regards,</DIV><DIV>&nbsp;&nbsp; Silvio.</DIV>]]>
   </description>
   <pubDate>Wed, 26 Jan 2011 09:51:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2466&amp;PID=9797#9797</guid>
  </item> 
  <item>
   <title>Predicate + Navigation : Hi,   I have one problem in execute...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2466&amp;PID=9792#9792</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2466<br /><strong>Posted:</strong> 26-Jan-2011 at 5:29am<br /><br />Hi, <br /><br />I have one problem in execute this query with predicate<br /><br />_em.Person.Where(f=&gt;f.Person_Profile.Id_Person_Profile == 1); to works perfectly....<br /><br />but i trying using with predicate....<br /><br />public void Get(Person QueryOperation)<br />{<br /><br />  List&lt;PredicateDescription&gt; predicateDescriptions = new List&lt;PredicateDescription&gt;();<br /><br />PredicateDescription aPredicateDescription;<br /><br />if (QueryOperation.Person.Person_Profile != null)<br />{<br />aPredicateDescription = PredicateBuilder.Make(typeof(Person), "Person_Profile", FilterOperator.IsEqualTo, QueryOperation.Person_Profile);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />predicateDescriptions.Add(aPredicateDescription);<br />}<br /><br />//TODO: execute the query ... <br />}<br /><br />then show this error<br /><br />Unable to create a constant value of type 'Crmall.Entities.Person_Profile'. Only primitive types ('such as Int32, String, and Guid') are supported in this context.<br /><br />then i change code&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />aPredicateDescription = PredicateBuilder.Make(typeof(Person), "Person_Profile.Id_Person_Profile", FilterOperator.IsEqualTo, QueryOperation.Person_Profile.Id_Person_Profile);<br /><br />then show this error..<br /><br />Unable to locate property 'Person_Profile.Id_Person_Profile' on type 'Crmall.Entities.Person'.......<br /><br />Ok... then change code<br /><br />aPredicateDescription = PredicateBuilder.Make(typeof(Person_Profile), "Person_Profile.Id_Person_Profile", FilterOperator.IsEqualTo, QueryOperation.Person_Profile.Id_Person_Profile);<br /><br />then show same error<br /><br />Unable to locate property 'Person_Profile.Id_Person_Profile' on type 'Crmall.Entities.Person_Profile'.......<br /><br /><br />then ideabladeTeam is that possible ?<br /><br />thanks...<br /><br /><br /><br /><br /><span style="font-size:10px"><br /><br />Edited by Molinari - 26-Jan-2011 at 5:29am</span>]]>
   </description>
   <pubDate>Wed, 26 Jan 2011 05:29:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2466&amp;PID=9792#9792</guid>
  </item> 
 </channel>
</rss>