<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.codesmithtools.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>Paul Welter - All Comments</title><link>http://community.codesmithtools.com/blogs/pwelter/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>PLINQO: Professional LINQ to Objects</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#31847</link><pubDate>Tue, 08 Jul 2008 07:07:24 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:31847</guid><dc:creator>Beckham</dc:creator><description>&lt;p&gt;PLINQO, which stands for Professional LINQ to Objects, is a collection of Code Smith templates...&lt;/p&gt;
&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=31847" width="1" height="1"&gt;</description></item><item><title>re: PLINQO - Supercharge LINQ to SQL</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27243</link><pubDate>Tue, 21 Aug 2007 18:43:50 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27243</guid><dc:creator>pwelter34</dc:creator><description>&lt;p&gt;wgpubs,&lt;/p&gt;
&lt;p&gt;I forgot to mention that you need to add a ref to the CodeSmith.Data project that is included in the zip file. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your issue with SalesByCategory is that there is a view by that name that ends up as a property on the datacontext. &amp;nbsp;There is also a stored procedure by that name, so you get a method by the same name. &amp;nbsp;You'll need to edit the dbml file to rename the function as stated in another comment.&lt;/p&gt;
&lt;p&gt;Not sure about the &amp;quot;System.Linq appeard previously ...&amp;quot; error. &amp;nbsp;After making the above changes and you still get the error, feel free to send me a sample so i can debug.&lt;/p&gt;
&lt;p&gt;thanks for the comments,&lt;/p&gt;
&lt;p&gt;~ Paul&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27243" width="1" height="1"&gt;</description></item><item><title>re: PLINQO - Supercharge LINQ to SQL</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27242</link><pubDate>Tue, 21 Aug 2007 18:39:27 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27242</guid><dc:creator>pwelter34</dc:creator><description>&lt;p&gt;Alex, &lt;/p&gt;
&lt;p&gt;Yes, I was able to get the generated code to compile from northwind after i renamed the SalesByCategory function get solve the duplicate name issue. &amp;nbsp;Maybe you could send me a sample of what is failing for you.&lt;/p&gt;
&lt;p&gt;~ Paul&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27242" width="1" height="1"&gt;</description></item><item><title>re: PLINQO - Supercharge LINQ to SQL</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27229</link><pubDate>Tue, 21 Aug 2007 00:27:55 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27229</guid><dc:creator>wgpubs</dc:creator><description>&lt;p&gt;One more exception I'm getting (using Northwind as my sample DB):&lt;/p&gt;
&lt;p&gt;&amp;quot;The type 'LTS.BL.NorthwindDataContext' already contains a definition for 'SalesByCategory'&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27229" width="1" height="1"&gt;</description></item><item><title>re: PLINQO - Supercharge LINQ to SQL</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27228</link><pubDate>Mon, 20 Aug 2007 23:46:40 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27228</guid><dc:creator>wgpubs</dc:creator><description>&lt;p&gt;I'm experiencing all kinds of problems when I use these templates:&lt;/p&gt;
&lt;p&gt;1. &amp;nbsp;&amp;quot;The using directive for System.Linq appeard previously in this namespace&amp;quot;&lt;/p&gt;
&lt;p&gt;Getting this on at least all of my manager classes&lt;/p&gt;
&lt;p&gt;2. &amp;nbsp;&amp;quot;The type or namespace name 'Codesmith' could not be found ...&amp;quot;&lt;/p&gt;
&lt;p&gt;Getting this all over the place as well.&lt;/p&gt;
&lt;p&gt;Anyways, its been about 4 hours of trying to figure out how to resolve these problems ... and nada.&lt;/p&gt;
&lt;p&gt;HELP!!!!&lt;/p&gt;
&lt;p&gt;thanks - wg&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27228" width="1" height="1"&gt;</description></item><item><title>re: PLINQO - Supercharge LINQ to SQL</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27206</link><pubDate>Mon, 20 Aug 2007 06:30:57 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27206</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Thanks Paul, but the problem is not duplicate in the function name, but wrong name of the properties for function parameters...&lt;/p&gt;
&lt;p&gt;Do you compile generated code for Northwind database without problems?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27206" width="1" height="1"&gt;</description></item><item><title>re: PLINQO - Supercharge LINQ to SQL</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27163</link><pubDate>Fri, 17 Aug 2007 19:59:13 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27163</guid><dc:creator>pwelter34</dc:creator><description>&lt;p&gt;Alex, &amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can change the name of the function that is a duplicate by editing the Function/@Method attribute in the dbml file. &amp;nbsp;That should get you by this problem for now. I will add a check for function names matching table names.&lt;/p&gt;
&lt;p&gt;~ Paul&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27163" width="1" height="1"&gt;</description></item><item><title>re: PLINQO - Supercharge LINQ to SQL</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27135</link><pubDate>Thu, 16 Aug 2007 17:50:15 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27135</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Hi Paul,&lt;/p&gt;
&lt;p&gt;Great templates!&lt;/p&gt;
&lt;p&gt;The only problem is that I can't get Northwind stored procedures to be compiled I get wrong properties generation - empty names for one property...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27135" width="1" height="1"&gt;</description></item><item><title>PLINQO - CodeSmith LINQ to SQL Templates</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27051</link><pubDate>Fri, 10 Aug 2007 18:27:08 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27051</guid><dc:creator>Paul Welter</dc:creator><description>&lt;p&gt;PLINQO, which stands for Professional LINQ to Objects, is a collection of CodeSmith templates that are&lt;/p&gt;
&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27051" width="1" height="1"&gt;</description></item><item><title>PLINQO - CodeSmith LINQ to SQL Templates</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27049</link><pubDate>Fri, 10 Aug 2007 17:41:48 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27049</guid><dc:creator>Paul Welter's Weblog</dc:creator><description>&lt;p&gt;PLINQO, which stands for Professional LINQ to Objects, is a collection of CodeSmith templates that are&lt;/p&gt;
&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27049" width="1" height="1"&gt;</description></item><item><title>PLINQO - Supercharge LINQ to SQL(Linq to sql的Codesmith模板)</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27021</link><pubDate>Thu, 09 Aug 2007 11:46:42 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27021</guid><dc:creator>江南白衣</dc:creator><description>&lt;p&gt;Linq to sql的Codesmith模板,非常好用:)&lt;/p&gt;
&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27021" width="1" height="1"&gt;</description></item><item><title>PLINQO - Supercharge LINQ to SQL - Paul Welter</title><link>http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx#27003</link><pubDate>Wed, 08 Aug 2007 17:54:38 GMT</pubDate><guid isPermaLink="false">829aebef-9208-4531-832e-1f916c1e97cb:27003</guid><dc:creator>PLINQO - Supercharge LINQ to SQL - Paul Welter</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;PLINQO - Supercharge LINQ to SQL - Paul Welter&lt;/p&gt;
&lt;img src="http://community.codesmithtools.com/aggbug.aspx?PostID=27003" width="1" height="1"&gt;</description></item></channel></rss>