<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>Creating Model Classes with LINQ to SQL</title><link>http://www.asp.net</link><pubDate>Thu, 21 Jul 2011 02:57:38 GMT</pubDate><generator>umbraco</generator><description>Comments for Creating Model Classes with LINQ to SQL</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/27484" rel="self" type="application/rss+xml" /><item><title>Comment Posted by panjkov</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Thu, 21 Aug 2008 20:43:47 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006911</guid><description><![CDATA[ <p>I posted sample code in C# for this video on my website</p> <p>&lt;a rel=&quot;nofollow&quot; target=&quot;_new&quot; href=&quot;http://panjkov.qsh.eu/files/folders/aspnetmvc/entry69.aspx&quot;&gt;panjkov.qsh.eu/.../entry69.aspx&lt;/a&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/panjkov.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cv_vikram</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Wed, 27 Aug 2008 07:01:04 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006912</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=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pr0ph3t</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Sat, 30 Aug 2008 06:59:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006913</guid><description><![CDATA[ <p>nice video, i would like to see C# version of code.</p> <p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/pr0ph3t.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by hpinsley</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Fri, 07 Nov 2008 22:26:26 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006914</guid><description><![CDATA[ <p>Thanks Stephen. &#160;One question regarding the repository pattern. &#160;If your interface returns objects that are created by the Linq to SQL designer, aren&#39;t you tying your interface -- and by extension the controller -- to a Linq to Sql class?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/hpinsley.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by NikolaR</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Sat, 15 Nov 2008 13:49:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006916</guid><description><![CDATA[ <p>I hate to reiterate question hpinsley asked.</p> <p>I guess that was not the point of this screen cast, but in real life scenario we would have to manually create object model and write code that populates it in repository.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/NikolaR.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by adanbrown</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Fri, 05 Dec 2008 17:15:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006917</guid><description><![CDATA[ <p>The dependency Injection Pattern is very helpful, but I believe a Factory pattern provides greater flexibility in terms of code versioning and implementation of new IRepository... </p> <p>Great Video...</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/adanbrown.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Sojan80</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Thu, 11 Dec 2008 17:07:41 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006918</guid><description><![CDATA[ <p>Is there any difference in speed or performance between Method Syntax and Query Syntax?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Sojan80.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pkellner</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Sat, 27 Dec 2008 13:12:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006919</guid><description><![CDATA[ <p>Nice Video. &#160;It would be nice to see how to get to another table besides a view of all. &#160;That is, what if I want to return list 1.</p> <p>It&#39;s nice to show an example of a pattern that lets me upgrade from linq to sql to linq to entities later (which is my plan)</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/pkellner.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by alcsharp</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Fri, 02 Jan 2009 12:40:02 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006920</guid><description><![CDATA[ <p>really.. thanks for the great videos!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/alcsharp.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by klawonk</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Thu, 12 Mar 2009 15:23:09 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006921</guid><description><![CDATA[ <p>This is one of the best videos I have seen that shows all the MVC concept and how to code all it parts. I also like how you use notepad to give a list of what we will be doing.  The only thing I might have added was an NUnit test with a MOCK IRepository to really round things out.  Either way, it is still a great video</p><p></p><p>Thank you.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/klawonk.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by hs_jha</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Thu, 09 Apr 2009 08:32:21 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006923</guid><description><![CDATA[ <p>more...........</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/hs_jha.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vinothkumarsi</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Wed, 22 Apr 2009 11:41:52 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006924</guid><description><![CDATA[ <p>Nice Video</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/vinothkumarsi.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by www.almny.com</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Mon, 04 May 2009 11:24:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006925</guid><description><![CDATA[ <p>thanks man :)</p><p>very useful (F)</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/www.almny.com.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sparrow1</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Wed, 27 May 2009 22:57:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006926</guid><description><![CDATA[ <p>great explanation. Thanks </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/sparrow1.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by AnarchyRising</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Fri, 12 Jun 2009 15:32:26 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006927</guid><description><![CDATA[ <p>Good set of vids so far .. MVC looks pretty badass</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/AnarchyRising.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by roman.spataru</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Tue, 06 Oct 2009 13:09:05 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006928</guid><description><![CDATA[ <p>Thanks,MVC looks simple for decompeling</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/roman.spataru.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by donmogill</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Thu, 15 Oct 2009 22:41:20 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006929</guid><description><![CDATA[ <p>Here is the lambda expression in C#:</p><p></p><p>var movies = dataContext.Movies.Select((m) =&gt; m);</p><p>            </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/donmogill.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pfsource</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Fri, 05 Mar 2010 21:20:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006932</guid><description><![CDATA[ <p>C# Version please</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/pfsource.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vvvvvdev</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Tue, 20 Apr 2010 04:13:40 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000006933</guid><description><![CDATA[ <p>very very thanks stephen.. You have  wonderful knowledge of ASP.NET....</p><p>plz provide c# source code for each video..</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/vvvvvdev.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by trinath chakravarthi</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Thu, 07 Oct 2010 06:21:11 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010527</guid><description><![CDATA[ <p>Super</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/trinath%20chakravarthi.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vishnuforyou</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Sat, 09 Oct 2010 06:37:24 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010558</guid><description><![CDATA[ <p>good</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/vishnuforyou.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by joseangel_yanez</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Wed, 27 Oct 2010 23:23:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010754</guid><description><![CDATA[ <p>The query syntax and the method syntax DOES have a BIG and IMPORTANT performance difference, lambda expression can&#39;t be understood by database therefore all rows must be returned and then filtered once they get to the client, you can easily test that using SQL Profiler.</p><p></p><p>In other words, if you can&#39;t do it by the query way, just go the the database and create a View or Store Proc, forget the Method Syntax unless you&#39;re quering RAM stored data.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/joseangel_yanez.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mammadkoma</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Tue, 16 Nov 2010 00:28:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010957</guid><description><![CDATA[ <p>Thanks Stephen.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mammadkoma.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mammadkoma</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Tue, 16 Nov 2010 00:29:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010959</guid><description><![CDATA[ <p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/mammadkoma.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by vanam</title><link>http://www.asp.net/mvc/videos/mvc-2/how-do-i/creating-model-classes-with-linq-to-sql</link><pubDate>Thu, 21 Jul 2011 02:57:38 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013802</guid><description><![CDATA[ <p>post videos in C# </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/vanam.jpg?forceidenticon=false&amp;dt=635045013000000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>