<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: LINQ To SQL Join On Multiple Conditions</title>
	<atom:link href="http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/</link>
	<description>a learning effort by Deepak Kapoor</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:29:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: kiran</title>
		<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/comment-page-1/#comment-202837</link>
		<dc:creator>kiran</dc:creator>
		<pubDate>Mon, 12 Dec 2011 10:35:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/#comment-202837</guid>
		<description>FADU</description>
		<content:encoded><![CDATA[<p>FADU</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dragontl21</title>
		<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/comment-page-1/#comment-193320</link>
		<dc:creator>Dragontl21</dc:creator>
		<pubDate>Thu, 24 Nov 2011 03:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/#comment-193320</guid>
		<description>Thanks so much! It works great</description>
		<content:encoded><![CDATA[<p>Thanks so much! It works great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/comment-page-1/#comment-151278</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 22 Aug 2011 02:45:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/#comment-151278</guid>
		<description>Can anyone help me? I have a query which need to join two field to do a search function. However, I don&#039;t know how to do in Linq.
eg. Select * from user where (user.address1 + user.address2) = &#039;TestingABC&#039;

thanks</description>
		<content:encoded><![CDATA[<p>Can anyone help me? I have a query which need to join two field to do a search function. However, I don&#8217;t know how to do in Linq.<br />
eg. Select * from user where (user.address1 + user.address2) = &#8216;TestingABC&#8217;</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/comment-page-1/#comment-149786</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Thu, 18 Aug 2011 23:04:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/#comment-149786</guid>
		<description>Most welome Jlu.</description>
		<content:encoded><![CDATA[<p>Most welome Jlu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jlu</title>
		<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/comment-page-1/#comment-149753</link>
		<dc:creator>Jlu</dc:creator>
		<pubDate>Thu, 18 Aug 2011 21:40:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/#comment-149753</guid>
		<description>Thanks! Works 100%</description>
		<content:encoded><![CDATA[<p>Thanks! Works 100%</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dragontl21</title>
		<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/comment-page-1/#comment-130279</link>
		<dc:creator>dragontl21</dc:creator>
		<pubDate>Mon, 11 Jul 2011 09:08:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/#comment-130279</guid>
		<description>@Vishnu: I have the same problem. &quot;Cannot resolve method join....&quot;
still don&#039;t know why :(</description>
		<content:encoded><![CDATA[<p>@Vishnu: I have the same problem. &#8220;Cannot resolve method join&#8230;.&#8221;<br />
still don&#8217;t know why :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/comment-page-1/#comment-129795</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Sun, 10 Jul 2011 23:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/#comment-129795</guid>
		<description>Thanks Vishnu.</description>
		<content:encoded><![CDATA[<p>Thanks Vishnu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vishnu</title>
		<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/comment-page-1/#comment-127601</link>
		<dc:creator>Vishnu</dc:creator>
		<pubDate>Fri, 08 Jul 2011 13:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/#comment-127601</guid>
		<description>i have tried above given example but i was facing some problem with join keyword that error says:
 &quot;The type of one of the expressions in the join clause is incorrect. Type interface failed in the call to &#039;Join&#039;.&quot;

but later i tried this below code then its working well....

var joinLinq = from e in db.Emps
               join d in db.Depts on e.Fk_Did equals d.Did
               select e;

           ----
           &#124;or&#124;
           ----
 var joinQuery = from e in db.Emps
                 join d in db.Depts on e.Fk_Did equals d.Did
                 select new
                 {
                    e.empno,
                    e.ename,
                    e.esal,
                    d.DeptName
                 };


if anybody facing the same problem, jus go up with this...

Happy coding...!!! :-)</description>
		<content:encoded><![CDATA[<p>i have tried above given example but i was facing some problem with join keyword that error says:<br />
 &#8220;The type of one of the expressions in the join clause is incorrect. Type interface failed in the call to &#8216;Join&#8217;.&#8221;</p>
<p>but later i tried this below code then its working well&#8230;.</p>
<p>var joinLinq = from e in db.Emps<br />
               join d in db.Depts on e.Fk_Did equals d.Did<br />
               select e;</p>
<p>           &#8212;-<br />
           |or|<br />
           &#8212;-<br />
 var joinQuery = from e in db.Emps<br />
                 join d in db.Depts on e.Fk_Did equals d.Did<br />
                 select new<br />
                 {<br />
                    e.empno,<br />
                    e.ename,<br />
                    e.esal,<br />
                    d.DeptName<br />
                 };</p>
<p>if anybody facing the same problem, jus go up with this&#8230;</p>
<p>Happy coding&#8230;!!! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/comment-page-1/#comment-117552</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Wed, 15 Jun 2011 23:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/#comment-117552</guid>
		<description>Most welcome Gosia.</description>
		<content:encoded><![CDATA[<p>Most welcome Gosia.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gosia</title>
		<link>http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/comment-page-1/#comment-117279</link>
		<dc:creator>Gosia</dc:creator>
		<pubDate>Wed, 15 Jun 2011 10:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.thereforesystems.com/linq-to-sql-join-on-multiple-conditions/#comment-117279</guid>
		<description>Thanks for help :)</description>
		<content:encoded><![CDATA[<p>Thanks for help :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

