<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Tech Off - LINQ TO SQL Method Return Type Is Incorrect for a SP</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Tech Off - LINQ TO SQL Method Return Type Is Incorrect for a SP</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Tue, 21 May 2013 10:01:03 GMT</pubDate>
	<lastBuildDate>Tue, 21 May 2013 10:01:03 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>3</c9:totalResults>
	<c9:pageCount>-3</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Tech Off - LINQ TO SQL Method Return Type Is Incorrect for a SP</title>
		<description><![CDATA[<p>OKay, <br />&nbsp;&nbsp;&nbsp; You have a stored procedure like this:<br />Input = @L As Bit, @G As Bit.<br />SELECT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X.*<br />FROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Y AS X<br />WHERE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (X.D = @L AND @L IS NOT NULL) AND (X.T = @G AND <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @G IS NOT NULL)<br />ORDER BY X.U DESC<br /><br />Why does LINQ TO SQL make the return type int instead of ISingleResult?<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259204-LINQ-TO-SQL-Method-Return-Type-Is-Incorrect-for-a-SP/259204#259204</link>
		<pubDate>Sun, 25 Nov 2007 03:29:43 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259204-LINQ-TO-SQL-Method-Return-Type-Is-Incorrect-for-a-SP/259204#259204</guid>
		<dc:creator>SecretSoftware</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/SecretSoftware/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - LINQ TO SQL Method Return Type Is Incorrect for a SP</title>
		<description><![CDATA[<p>SET NOCOUNT ON causes stored procedures to return an int value.&nbsp; Try SET NOCOUNT OFF in your stored procedure.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259204-LINQ-TO-SQL-Method-Return-Type-Is-Incorrect-for-a-SP/4dd897a3b59c4499a4db9dfa009039f8#4dd897a3b59c4499a4db9dfa009039f8</link>
		<pubDate>Sun, 25 Nov 2007 03:50:15 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259204-LINQ-TO-SQL-Method-Return-Type-Is-Incorrect-for-a-SP/4dd897a3b59c4499a4db9dfa009039f8#4dd897a3b59c4499a4db9dfa009039f8</guid>
		<dc:creator>JChung2006</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/JChung2006/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - LINQ TO SQL Method Return Type Is Incorrect for a SP</title>
		<description><![CDATA[<p><br /><blockquote>
<div class="quoteAuthor">JChung2006 wrote:</div>
<div class="quoteBody">&#65279;SET NOCOUNT ON causes stored procedures to return an int value.&nbsp; Try SET NOCOUNT OFF in your stored procedure.</div>
</blockquote>
<br /><br />But Its not set ON. Its off.<br /><br />Not sure why it keeps doing it.<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259204-LINQ-TO-SQL-Method-Return-Type-Is-Incorrect-for-a-SP/c0d2d71b0db74df2936a9dfa00903a49#c0d2d71b0db74df2936a9dfa00903a49</link>
		<pubDate>Wed, 28 Nov 2007 18:00:34 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259204-LINQ-TO-SQL-Method-Return-Type-Is-Incorrect-for-a-SP/c0d2d71b0db74df2936a9dfa00903a49#c0d2d71b0db74df2936a9dfa00903a49</guid>
		<dc:creator>SecretSoftware</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/SecretSoftware/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>