<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>LINQ to SQL Tips 8: How to (and why) create a partial class in the designer to augment generated code</title><link>http://blogs.msdn.com/b/dinesh.kulkarni/archive/2008/06/06/linq-to-sql-tips-8-how-to-and-why-create-a-partial-class-in-the-designer-to-augment-generated-code.aspx</link><description>The code generated for LINQ to SQL is a set of partial classes - one for your DataContext and one per entity mapped to a table or a view. That means you have the opportunity to augment the generated code with additional code in your partial class. I often</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: LINQ to SQL Tips 8: How to (and why) create a partial class in the designer to augment generated code</title><link>http://blogs.msdn.com/b/dinesh.kulkarni/archive/2008/06/06/linq-to-sql-tips-8-how-to-and-why-create-a-partial-class-in-the-designer-to-augment-generated-code.aspx#8679096</link><pubDate>Wed, 02 Jul 2008 02:29:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8679096</guid><dc:creator>Dinesh Kulkarni - MSFT</dc:creator><description>&lt;p&gt;Tim,&lt;/p&gt;
&lt;p&gt;That is a very good suggestion. I will pass in on to the V2 team for their consideration.&lt;/p&gt;
&lt;p&gt;In general, based on the feedback on this blog and elsewhere, it is clear that users are looking for a lot more than one-shot, black box code gen which is all we could do in V1. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Dinesh&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8679096" width="1" height="1"&gt;</description></item><item><title>re: LINQ to SQL Tips 8: How to (and why) create a partial class in the designer to augment generated code</title><link>http://blogs.msdn.com/b/dinesh.kulkarni/archive/2008/06/06/linq-to-sql-tips-8-how-to-and-why-create-a-partial-class-in-the-designer-to-augment-generated-code.aspx#8671804</link><pubDate>Mon, 30 Jun 2008 20:03:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8671804</guid><dc:creator>Tim Hardy</dc:creator><description>&lt;p&gt;Is there a way to hook into the code generation process of LINQ? &amp;nbsp;I would love to at least be notified (some event perhaps?) of when LINQ is generating new classes, so that I can generate some partial classes of my own to respond to those changes. &amp;nbsp;As it is now, anything I do above, would have to manually be done everytime I re-generate LINQ classes. &amp;nbsp;At least that's the case if my partial class is even remotely dependent on the table (which it will be 90% of the time). &amp;nbsp;This can easily be solved by simply publishing events from within the code-generation segment and perhaps even publishing some data along with those events (table schema structure of the class being generated, etc).&lt;/p&gt;
&lt;p&gt;This is a significant piece that is currently lacking with LINQ to SQL that would bridge the gap for us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8671804" width="1" height="1"&gt;</description></item><item><title>re: LINQ to SQL Tips 8: How to (and why) create a partial class in the designer to augment generated code</title><link>http://blogs.msdn.com/b/dinesh.kulkarni/archive/2008/06/06/linq-to-sql-tips-8-how-to-and-why-create-a-partial-class-in-the-designer-to-augment-generated-code.aspx#8606852</link><pubDate>Mon, 16 Jun 2008 23:01:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8606852</guid><dc:creator>Dinesh Kulkarni - MSFT</dc:creator><description>&lt;p&gt;Steve, you are right about the omission. I have added a note to the post accordingly.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Dinesh&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8606852" width="1" height="1"&gt;</description></item><item><title>re: LINQ to SQL Tips 8: How to (and why) create a partial class in the designer to augment generated code</title><link>http://blogs.msdn.com/b/dinesh.kulkarni/archive/2008/06/06/linq-to-sql-tips-8-how-to-and-why-create-a-partial-class-in-the-designer-to-augment-generated-code.aspx#8595058</link><pubDate>Sat, 14 Jun 2008 01:20:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8595058</guid><dc:creator>sjnaughton</dc:creator><description>&lt;p&gt;Hi Dinesh I've noticed that in a file system based website the View Code is missing and also &amp;quot;Configure Behavoir&amp;quot; is always greyed out in file system based websites.&lt;/p&gt;
&lt;p&gt;P.S. I've noted this on Microsoft Connect, but thought it was worth mentioning here as people like me would spend a great deal of time looking for somthing that isn't there&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
&lt;p&gt;:-D&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8595058" width="1" height="1"&gt;</description></item><item><title>Dinesh Kularni : LINQ To SQL tips next</title><link>http://blogs.msdn.com/b/dinesh.kulkarni/archive/2008/06/06/linq-to-sql-tips-8-how-to-and-why-create-a-partial-class-in-the-designer-to-augment-generated-code.aspx#8594507</link><pubDate>Fri, 13 Jun 2008 17:03:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594507</guid><dc:creator>Matthieu MEZIL</dc:creator><description>&lt;p&gt;J'avais blogu&amp;#233; sur les 5 premi&amp;#232;res astuces de Dinesh Kularni . Voici les 3 suivants : LINQ to SQL Tips&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8594507" width="1" height="1"&gt;</description></item></channel></rss>