<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: Executing Arbitrary SQL</title><link>http://asp.net</link><pubDate>Mon, 28 Dec 2009 11:38:43 GMT</pubDate><generator>umbraco</generator><description>Comments for How Do I: LINQ to SQL: Executing Arbitrary SQL</description><language>en</language><atom:link href="http://asp.net/rss/comments/37521" rel="self" type="application/rss+xml" /><item><title>Comment Posted by agarwaen</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Mon, 17 Mar 2008 20:05:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006862</guid><description><![CDATA[ <p>I know everyone is excited, so I be a bit more critic to this video podcast.</p> <p>1. IMHO it is too short and too fast to the point. Not touching &#160;it more deeply, i.e. why we are extending DataContext class instead of building our own factory, or it gets to the ExecuteCommand method just in the end of the video and then it immediately finish.</p> <p>2. Would be better if Scott first of all told something about advantages/disadvantages of using SQL instead of LINQ (just a quick info and guide where to look for LINQ generated SQL statements), and touch in a bit more detail the ExecuteCommand method.</p> <p>3. when will you support the &quot;new&quot; iPod Touch screen resolution in podcasts? It isn&#39;t much of a enjoyable experience watching them in present low-resolution state.</p> <p>Thank you</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/agarwaen.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mahir78</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Tue, 18 Mar 2008 05:36:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006863</guid><description><![CDATA[ <p>Its Great that Microsoft offers world&#39;s smallest tutorials for their new products! Hats off to you. :(</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/mahir78.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by atarikg</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Thu, 20 Mar 2008 07:35:21 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006864</guid><description><![CDATA[ <p>Well kinda fast yet nice :)</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/atarikg.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Nezdet</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Tue, 25 Mar 2008 07:47:17 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006865</guid><description><![CDATA[ <p>Fulltext Search I need to use pass through SQL to LINQ</p> <p>Are there some exemples how to do it??</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Nezdet.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Lee Dumond</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Tue, 08 Apr 2008 13:35:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006866</guid><description><![CDATA[ <p>Just would like to point out a couple of errors in the code:</p> <p>In part9.aspx, line 31:</p> <p>Product p = db.Products.Single(p =&gt; p.ProductName == &quot;Foo&quot;);</p> <p>You can&#39;t declare a local variable &quot;p&quot; in the lambda expression here, because &quot;p&quot; is already used to denote the Product. You could change it to something else, like:</p> <p>Product p = db.Products.Single(prod =&gt; prod.ProductName == &quot;Foo&quot;);</p> <p>In Helpers.cs, line 57:</p> <p>return ExecuteCommand(&quot;delete from products where ProductId={0}&quot;, instance.ProductID);</p> <p>DeleteProduct is a void method, so it can&#39;t return anything. &#160;You need to get rid of the &quot;return&quot; keyword.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Lee%20Dumond.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by DesmondF</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Mon, 26 May 2008 05:22:47 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006867</guid><description><![CDATA[ <p>What about SQLInfoMessageHandler</p> <p>I really enjoyed this tutorial. It got me going within a couple of minutes. I need to display the SQL messages from RAISERROR.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/DesmondF.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by xequence</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Wed, 11 Jun 2008 14:36:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006868</guid><description><![CDATA[ <p>I would advise to whomever watches these tutorials that they are more understandable if you watch them in the correct order. Touching on specifics in every video is time consuming and Scott does a great job in not wasting time on old news.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/xequence.jpg?forceidenticon=false&amp;dt=635045209800000000&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-executing-arbitrary-sql</link><pubDate>Mon, 18 Aug 2008 10:55:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006869</guid><description><![CDATA[ <p>thanks....</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by TheDirtyBird</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Thu, 21 Aug 2008 14:11:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006870</guid><description><![CDATA[ <p>Could you please post a link where I can download this video?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/TheDirtyBird.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by KShips</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Sat, 20 Sep 2008 19:13:42 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006871</guid><description><![CDATA[ <p>Excellent videos. Learnt a lot from them.</p> <p>Any chance of doing a video on how to apply security (ie behind a login) to this site? I&#39;m a newbie so this might be quite obvious to implement but having issues with this project.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/KShips.jpg?forceidenticon=false&amp;dt=635045209800000000&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-executing-arbitrary-sql</link><pubDate>Fri, 24 Oct 2008 08:20:52 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006872</guid><description><![CDATA[ <p>Thanks! J&#235;r&#235;j&#235;f!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/djibril_chimere_DIAW.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by brokensaber</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Tue, 11 Nov 2008 19:31:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006873</guid><description><![CDATA[ <p>I would like to see a video on using linq to import to a sql db using a data source like a csv file, xml, or xls.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/brokensaber.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Nowman</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Tue, 16 Dec 2008 11:24:33 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006874</guid><description><![CDATA[ <p>The C# Code link goes to Part 8 of the series.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Nowman.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by koolaidkid</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Tue, 24 Feb 2009 22:36:20 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006875</guid><description><![CDATA[ <p>holy cow, i&#39;ve been looking for a way to do full text search (Contains, Freetext, Containstable..) through LINQtoSQL for the longest time, since fts isn&#39;t supportted by linq. so does this mean i can now use Contains in SQL? and it won&#39;t generate &amp;quot;%like%&amp;quot; statements instead? </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/koolaidkid.jpg?forceidenticon=false&amp;dt=635045209800000000&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-executing-arbitrary-sql</link><pubDate>Fri, 27 Feb 2009 02:05:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006876</guid><description><![CDATA[ <p>Help me: </p><p>I use linq to load data into the DropDownList, but when I code the server is how to get the ID (value) of the DropDownList? (I need to get value DropDownList.selectvalue)</p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/vvphan.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by abhinandanbansal</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Sun, 05 Apr 2009 15:16:08 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006877</guid><description><![CDATA[ <p>It is good. Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/abhinandanbansal.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ifucani2can</title><link>http://asp.net/web-forms/videos/data-access/how-do-i-with-linq/how-do-i-linq-to-sql-executing-arbitrary-sql</link><pubDate>Mon, 28 Dec 2009 11:38:43 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006878</guid><description><![CDATA[ <p>This is really a great Stuff!!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ifucani2can.jpg?forceidenticon=false&amp;dt=635045209800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>