<?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 : Not In Opperator Using in EntityQuery</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Not In Opperator Using in EntityQuery</description>
  <pubDate>Sun, 12 Apr 2026 00:24:52 -700</pubDate>
  <lastBuildDate>Fri, 27 Jun 2008 08:29:30 -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=861</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>Not In Opperator Using in EntityQuery : Here is an example:   Reversing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=861&amp;PID=3146#3146</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 861<br /><strong>Posted:</strong> 27-Jun-2008 at 8:29am<br /><br />Here is an example:<DIV>&nbsp;</DIV><DIV><H6><FONT face="Times New Roman" size=3>Reversing a Condition with the<I style="mso-bidi-font-style: normal"> Not </I>Operator</FONT></H6><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><SPAN style="mso-no-proof: yes"><FONT size=2><FONT face="Times New Roman">This example introduces the EntityBooleanOp.NOT operator, which reverses the sense of a condition.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Like the OR operator, the NOT operator is applied after the clause to which it applies has been defined.</P><DIV></DIV><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><TABLE style="BORDER-COLLAPSE: collapse; mso-yfti-tbllook: 480; mso-padding-alt: 0in 5.4pt 0in 5.4pt" cellSpacing=0 cellPadding=0><T><TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; page-break-inside: avoid"><TD style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; : #e0e0e0; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 24.7pt; PADDING-TOP: 0in; BORDER-BOTTOM: #ece9d8" vAlign=top width=33><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="mso-bidi-font-size: 9.0pt"><FONT size=2>C#<o:p></o:p></FONT></SPAN></B></P></TD><TD style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; : #e0e0e0; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 454.1pt; PADDING-TOP: 0in; BORDER-BOTTOM: #ece9d8" vAlign=top width=605><P =codeSnippet style="MARGIN: 0in 0in 0pt"><FONT face="Courier New"><SPAN style="FONT-SIZE: 8pt; COLOR: blue; mso-no-proof: yes">#region</SPAN><SPAN style="FONT-SIZE: 8pt; mso-no-proof: yes"> Name Does ! (Contains the Letter 'E')<o:p></o:p></SPAN></FONT></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><FONT face="Courier New"><SPAN style="FONT-SIZE: 8pt; COLOR: gray; mso-no-proof: yes">///</SPAN><SPAN style="FONT-SIZE: 8pt; COLOR: green; mso-no-proof: yes"> </SPAN><SPAN style="FONT-SIZE: 8pt; COLOR: gray; mso-no-proof: yes">&lt;remarks&gt;<o:p></o:p></SPAN></FONT></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><FONT face="Courier New"><SPAN style="FONT-SIZE: 8pt; COLOR: gray; mso-no-proof: yes">///</SPAN><SPAN style="FONT-SIZE: 8pt; COLOR: green; mso-no-proof: yes"> select * from "dbo"."Product" where (( not "dbo"."Product"."ProductName" like ?)) <o:p></o:p></SPAN></FONT></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><FONT face="Courier New"><SPAN style="FONT-SIZE: 8pt; COLOR: gray; mso-no-proof: yes">///</SPAN><SPAN style="FONT-SIZE: 8pt; COLOR: green; mso-no-proof: yes"> Params: v0=%E%<o:p></o:p></SPAN></FONT></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><FONT face="Courier New"><SPAN style="FONT-SIZE: 8pt; COLOR: gray; mso-no-proof: yes">///</SPAN><SPAN style="FONT-SIZE: 8pt; COLOR: green; mso-no-proof: yes"> </SPAN><SPAN style="FONT-SIZE: 8pt; COLOR: gray; mso-no-proof: yes">&lt;/remarks&gt;<o:p></o:p></SPAN></FONT></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><FONT face="Courier New"><SPAN style="FONT-SIZE: 8pt; COLOR: blue; mso-no-proof: yes">internal</SPAN><SPAN style="FONT-SIZE: 8pt; mso-no-proof: yes"> <SPAN style="COLOR: blue">static</SPAN> <SPAN style="COLOR: teal">RdbQuery</SPAN> GetQueryNameDoesNotContainsE() {<o:p></o:p></SPAN></FONT></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; mso-no-proof: yes"><FONT face="Courier New"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="COLOR: teal">RdbQuery</SPAN> query = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: teal">RdbQuery</SPAN>(<SPAN style="COLOR: blue">typeof</SPAN>(<SPAN style="COLOR: teal">Product</SPAN>));<o:p></o:p></FONT></SPAN></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; mso-no-proof: yes"><FONT face="Courier New"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>query.AddClause(<SPAN style="COLOR: teal">Product</SPAN>.ProductNameEntityColumn, <SPAN style="COLOR: teal">EntityQueryOp</SPAN>.Contains, <SPAN style="COLOR: maro&#111;n">"E"</SPAN>);<o:p></o:p></FONT></SPAN></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; mso-no-proof: yes"><FONT face="Courier New"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>query.AddOperator(<SPAN style="COLOR: teal">EntityBooleanOp</SPAN>.Not);<o:p></o:p></FONT></SPAN></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; mso-no-proof: yes"><FONT face="Courier New"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="COLOR: blue">return</SPAN> query;<o:p></o:p></FONT></SPAN></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; mso-no-proof: yes"><FONT face="Courier New">}<o:p></o:p></FONT></SPAN></P><P =codeSnippet style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: blue; mso-no-proof: yes"><FONT face="Courier New">#endregion<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></P></TD></TR><TR style="mso-yfti-irow: 1; page-break-inside: avoid; mso-yfti-lastrow: yes"><TD style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; : #e0e0e0; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 24.7pt; PADDING-TOP: 0in; BORDER-BOTTOM: #ece9d8" vAlign=top width=33><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="mso-bidi-font-size: 9.0pt"><FONT size=2>VB<o:p></o:p></FONT></SPAN></B></P></TD><TD style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; : #e0e0e0; PADDING-BOTTOM: 0in; BORDER-LEFT: #ece9d8; WIDTH: 454.1pt; PADDING-TOP: 0in; BORDER-BOTTOM: #ece9d8" vAlign=top width=605><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">#<SPAN style="COLOR: blue">Region</SPAN> <SPAN style="COLOR: maro&#111;n">"Name Does NOT Contains the Letter 'E'"<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="COLOR: green">''' </SPAN><SPAN style="COLOR: gray">&lt;remarks&gt;<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="COLOR: green">''' select * from "dbo"."Product" where (( not "dbo"."Product"."ProductName" like ?)) <o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="COLOR: green">''' Params: v0=%E%<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="COLOR: green">''' </SPAN><SPAN style="COLOR: gray">&lt;/remarks&gt;<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="COLOR: blue">Friend</SPAN> <SPAN style="COLOR: blue">Shared</SPAN> <SPAN style="COLOR: blue">Function</SPAN> GetQueryNameDoesNotContainsE() <SPAN style="COLOR: blue">As</SPAN> RdbQuery<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">Dim</SPAN> query <SPAN style="COLOR: blue">As</SPAN> <SPAN style="COLOR: blue">New</SPAN> RdbQuery(<SPAN style="COLOR: blue">GetType</SPAN>(Product))<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>query.AddClause(Product.ProductNameEntityColumn, EntityQueryOp.Contains, <SPAN style="COLOR: maro&#111;n">"E"</SPAN>)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>query.AddOperator(EntityBooleanOp.Not)<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: blue">Return</SPAN> query<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="COLOR: blue">End</SPAN> <SPAN style="COLOR: blue">Function<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">#<SPAN style="COLOR: blue">End</SPAN> <SPAN style="COLOR: blue">Region<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: n&#111;ne"><o:p><FONT size=2>&nbsp;</FONT></o:p></P></TD></TR></T></TABLE></o:p></FONT></FONT></SPAN></P></DIV>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 08:29:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=861&amp;PID=3146#3146</guid>
  </item> 
  <item>
   <title>Not In Opperator Using in EntityQuery : hai , How to use Not In Opperator...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=861&amp;PID=3142#3142</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=159" rel="nofollow">vinothvdp</a><br /><strong>Subject:</strong> 861<br /><strong>Posted:</strong> 27-Jun-2008 at 4:03am<br /><br /><P>hai ,</P><DIV>How to use Not In Opperator in EntityQuery any exampale pls tell me</DIV><DIV>thanks</DIV>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 04:03:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=861&amp;PID=3142#3142</guid>
  </item> 
 </channel>
</rss>