<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>[How Do I:] LINQ to SQL: Using Stored Procedures</title><link>http://asp.net</link><pubDate>Tue, 20 Apr 2010 08:49:49 GMT</pubDate><generator>umbraco</generator><description>Comments for [How Do I:] LINQ to SQL: Using Stored Procedures</description><language>en</language><atom:link href="http://asp.net/rss/comments/37519" rel="self" type="application/rss+xml" /><item><title>Comment Posted by przemeklach</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Tue, 25 Mar 2008 00:51:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006805</guid><description><![CDATA[ <p>Hi,</p> <p>Couple questions:</p> <p>It seems like you can make powerful queries without using stored procedures, at what point do you decided to use stored procedures?</p> <p>Does using LINQ break the MVC model? It seems like you are mixing parts of the controller with the model.</p> <p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/przemeklach.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by grimrist</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Thu, 10 Jul 2008 14:20:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006806</guid><description><![CDATA[ <p>I use stored procedures mainly because we have them created already. I would imagine only using stored procedures if they are available and are at your disposal. Why reinvent the wheel when they are already there for you.</p> <p>Myself on the otherhand, likes to reinvent the wheels.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/grimrist.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cv_vikram</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Mon, 18 Aug 2008 10:56:20 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006807</guid><description><![CDATA[ <p>thanks....</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by iscott</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Thu, 28 Aug 2008 01:52:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006808</guid><description><![CDATA[ <p>The major reason for using stored procedures is that they execute quicker that the equivalent in-line query. This is because SQL Server has the opportunity to work out the best execution plan ahead of the time when the stored procedure will be called by the application.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/iscott.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by S.Pirashanth</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Thu, 28 Aug 2008 05:05:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006809</guid><description><![CDATA[ <p>Many thanks for the great videos</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/S.Pirashanth.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vinz</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Fri, 17 Oct 2008 17:51:24 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006810</guid><description><![CDATA[ <p>Great video! Thank you!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/vinz.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by djibril_chimere_DIAW</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Fri, 24 Oct 2008 07:43:02 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006811</guid><description><![CDATA[ <p>Thanks! J&#235;r&#235;j&#235;f!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/djibril_chimere_DIAW.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by alexchr</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Tue, 28 Oct 2008 17:15:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006812</guid><description><![CDATA[ <p>hi,</p> <p>6:45 : The return values is a collection of Produt objects... </p> <p>so instead of using </p> <p>foreach(var p in q) which works anyway</p> <p>you can use</p> <p>foreach(product p in q)... &#160; </p> <p>thanx for the videos and source codes, nice place to start from!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/alexchr.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rami_nassar</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Tue, 09 Dec 2008 11:57:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006813</guid><description><![CDATA[ <p>thats what i was seeking for</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/rami_nassar.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by agrawalbs</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Wed, 28 Jan 2009 15:17:02 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006814</guid><description><![CDATA[ <p>trying to download for last two days but not able to do it.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/agrawalbs.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by prolingua.geo</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Mon, 09 Feb 2009 10:42:32 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006815</guid><description><![CDATA[ <p>thanks for the video</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/prolingua.geo.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by uniquesaiful</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Sun, 22 Feb 2009 05:43:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006816</guid><description><![CDATA[ <p>Cool video. Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/uniquesaiful.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vvphan</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Wed, 25 Feb 2009 15:46:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006817</guid><description><![CDATA[ <p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/vvphan.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sisieko</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Fri, 13 Mar 2009 23:34:49 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006818</guid><description><![CDATA[ <p>I am not comfortable with the idea of hard coding sql statements on my aspx pages, i think stored_procedures are best way to go.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/sisieko.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by amin_pucit</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Fri, 24 Apr 2009 12:57:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006819</guid><description><![CDATA[ <p>nice work!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/amin_pucit.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by DotNetXenon</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Fri, 04 Sep 2009 19:01:47 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006820</guid><description><![CDATA[ <p>Thanks for the great video!!!</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/DotNetXenon.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by NaoufelBellali</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Tue, 22 Dec 2009 16:01:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006821</guid><description><![CDATA[ <p>but i have a small problem when i retrive data from database</p><p>it can&#39;t detect modification</p><p>i must regenerate all the model or what ??</p><p></p><p>thanks</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/NaoufelBellali.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by asus3000</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Tue, 29 Dec 2009 20:03:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006822</guid><description><![CDATA[ <p>The three main reasons for using stored procedures: Stored procedures only require parameters passed instead of queries (fast), they&#39;re pre-compiled and optimized (fast), and the code is stored separately (organization). </p><p></p><p>Stored procs can get to be quite large and off-loading all the tasks to the SQL Server is far better than going back and forth between servers.</p><p>There are other benefits but these are the main ones that come to mind first.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/asus3000.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vvvvvdev</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-using-stored-procedures</link><pubDate>Tue, 20 Apr 2010 08:49:49 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006823</guid><description><![CDATA[ <p>thanx..carry on</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/vvvvvdev.jpg?forceidenticon=false&amp;dt=635072208600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>