<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>Blinq Preview</title><link>http://forums.asp.net/1076.aspx</link><description>Blinq is a tool for generating ASP.NET websites for displaying, creating, and manipulating data based on database schema.  You can provide feedback and ask questions about the Blinq preview in this forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/2102056.aspx</link><pubDate>Thu, 10 Jan 2008 16:38:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2102056</guid><dc:creator>ehudros</dc:creator><author>ehudros</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2102056.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=2102056</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m having the same issues and I was wondering if a fix is available? 
After going through the code I can&amp;#39;t say I understand how deleting all the extra keys wil&lt;br /&gt;maintain functionality. It seems that these values are foreign keys used to connect to other tables (for example in the GetFilteredXXX method generated for every&lt;br /&gt;table the tablename parameter is used to redirect the call to the relevant method with the respectful id).&lt;/p&gt;&lt;p&gt;I may be confusing things as I have not actually studies the code thoroughly, but is the solution currently to delete all extra references and parameters from the&lt;br /&gt;data sources? &lt;br /&gt;Also, what can I do in the db level to prevent this from happening? (Bill suggested changing index names, but I didn&amp;#39;t understand exactly how)&lt;/p&gt;&lt;p&gt;Thanks, I can&amp;#39;t wait to try this out (hopefully it would save me quite a few hours of coding)&lt;br /&gt;Ehud&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1769552.aspx</link><pubDate>Sun, 24 Jun 2007 07:33:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1769552</guid><dc:creator>cliffs</dc:creator><author>cliffs</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1769552.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1769552</wfw:commentRss><description>&lt;p&gt;Is there a new version of BLINQ that addresses this issue?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From Bill&amp;#39;s posting it seems the issue is caused by having a commonly named primary key field in multiple tables, i.e. &amp;quot;Id&amp;quot;.&amp;nbsp; Unfortunately I use this naming scheme as well.&amp;nbsp; So I&amp;#39;m in a bind (no pun intended) unless I rename my pk cols.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks.&lt;/p&gt;
&lt;p&gt;Cliff&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1356493.aspx</link><pubDate>Mon, 31 Jul 2006 19:46:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1356493</guid><dc:creator>wkoscho</dc:creator><author>wkoscho</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1356493.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1356493</wfw:commentRss><description>&lt;p&gt;I encountered the same problem.&amp;nbsp; It appears that if you have a table called TableA, with more than one foreign key:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TableA.ItemId is a&amp;nbsp;FK to the Item table and the Item table has a FK back to TableA.Id&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TableA.StoreId is a&amp;nbsp;FK to the Store table and the Store table has a FK back to TableA.Id&lt;/p&gt;
&lt;p&gt;Then it generates a method for filtering by the various FKs, but since both the Item and Store tables have FK back toTableA.Id it generates a filter() method that takes two paramters, both with the same name: TableA_Id and TableA_Id.&lt;/p&gt;
&lt;p&gt;I guess you can rename TableA_Id to TableA_Id1 and TableA_Id2 to resolve this problem, but if you regenerate your code again, you hvae to keep fixing this manually.&lt;/p&gt;
&lt;p&gt;Hope this helps&lt;/p&gt;
&lt;p&gt;Bill&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1337355.aspx</link><pubDate>Mon, 10 Jul 2006 21:39:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1337355</guid><dc:creator>phuff</dc:creator><author>phuff</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1337355.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1337355</wfw:commentRss><description>&lt;p&gt;Alex sent his schema and we worked together to fix his issue.&amp;nbsp; If yours is the same as his, you'll need to do two things:&lt;/p&gt;
&lt;p&gt;1. For each compilation error, go to the method that has duplicate parameters and delete all but one of the identical parameters.&amp;nbsp; If the method calls into another method with the duplicate parameters, delete all but one parameter instance.&lt;/p&gt;
&lt;p&gt;2. For each compilation error you fixed, go to the webpage that shows data from this method.&amp;nbsp; This should be a page with a GridView on it.&amp;nbsp; From the ObjectDataSource on the page, remove all but one of the duplicate SelectParameters.&lt;/p&gt;
&lt;p&gt;Rerun the page.&amp;nbsp; It should all work after those changes.&lt;/p&gt;
&lt;p&gt;I did think about adding an option to specify which tables Blinq should include, but ultimately I decided that would be a messy option for a command line application.&amp;nbsp; You can delete the pages generated for tables you don't wish to expose, and the effect will be the same.&lt;/p&gt;
&lt;p&gt;Thanks for the suggestion and feedback, and I hope the fix works for you and you can go on holiday anyways. &lt;img src="/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/p&gt;
&lt;p&gt;Polita&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1337280.aspx</link><pubDate>Mon, 10 Jul 2006 20:21:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1337280</guid><dc:creator>xystus</dc:creator><author>xystus</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1337280.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1337280</wfw:commentRss><description>&lt;p&gt;I am seeing this error too.&amp;nbsp; Blinq worked fine on our support database&amp;nbsp;but stumbled on a production system "real" database.&amp;nbsp; If Alex has not been able to provide a schema, please let me know and I'll send ours.&lt;/p&gt;
&lt;p&gt;All I need now is the source to Blinq please ; ) so I can modify it to also generate a BLL layer a la the tutorial site (&lt;a href="http://www.asp.net/learn/dataaccess/default.aspx?tabid=63"&gt;http://www.asp.net/learn/dataaccess/default.aspx?tabid=63&lt;/a&gt;) - then I can go on holiday for a few weeks!&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Another feature I'd suggest is adding a facility to specify which tables to include (or exclude) in the generated application.&amp;nbsp; Often there will be billing record or transaction/audit tables that you really would not want editable.&lt;/p&gt;
&lt;p&gt;Anyway - nice work and an excellent way to deomnstrate the power of the new linq stuff.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1324282.aspx</link><pubDate>Sun, 25 Jun 2006 16:52:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1324282</guid><dc:creator>phuff</dc:creator><author>phuff</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1324282.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1324282</wfw:commentRss><description>&lt;p&gt;Alex, a database schema dump would be really helpful.&amp;nbsp; You can omit the data.&amp;nbsp; I´ll send you a private message&amp;nbsp;with an email address&amp;nbsp;where to send it, and then I´ll&amp;nbsp;post a workaround here as soon as I can repro and research it.&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1324043.aspx</link><pubDate>Sun, 25 Jun 2006 01:03:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1324043</guid><dc:creator>alexsimkin</dc:creator><author>alexsimkin</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1324043.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1324043</wfw:commentRss><description>&lt;p&gt;Polita,&lt;/p&gt;
&lt;p&gt;OK, I'll try this, but it seems to me that I shouldn't delete duplicate parameters, rather I need to make them different like ITEM_ID1, ITEM_ID2, etc. If you need a database dump to reproduce this, just let me know.&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1323829.aspx</link><pubDate>Sat, 24 Jun 2006 13:53:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1323829</guid><dc:creator>phuff</dc:creator><author>phuff</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1323829.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1323829</wfw:commentRss><description>&lt;p&gt;Hi Alex- glad to hear it´s compiling.&amp;nbsp; The error you´re seeing now is because the ObjectDataSources that point to your methods still have multiple parameters, so they´re looking for methods with all the duplicate parameters.&amp;nbsp; You can fix that up by deleting the duplicate parameters in the parameter collection on each ObjectDataSource that points to one of the methods you had to change.&amp;nbsp; These will probably be on just GridView pages.&lt;/p&gt;
&lt;p&gt;Thanks for your patience.&amp;nbsp; I will look for the root cause of this issue when I return from vacation next week.&amp;nbsp; I´m posting this from an internet cafe in Spain, so it´s hard to figure out exactly what went wrong. :)&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1323536.aspx</link><pubDate>Fri, 23 Jun 2006 21:36:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1323536</guid><dc:creator>alexsimkin</dc:creator><author>alexsimkin</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1323536.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1323536</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;alexsimkin:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;p&gt;Polita,&lt;/p&gt;
&lt;p&gt;After I deleted all that duplicate parameters the application is actually started (and works fine...so far :)&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;No, it doesn't work. I'm getting errors that look like this:&lt;/p&gt;
&lt;p&gt;'ITEMsDataSource' could not find a non-generic method 'GetITEMs' that has parameters: tableName, ITEMs_ID, ITEMs_ID1, ITEMs_ID2, sortExpression, maximumRows, startRowIndex.&lt;/p&gt;
&lt;p&gt;These ITEMs_ID, ..._ID1, ..._ID2 should be passed to those duplicate ITEMs_ID parameters that I deleted.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1323534.aspx</link><pubDate>Fri, 23 Jun 2006 21:32:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1323534</guid><dc:creator>alexsimkin</dc:creator><author>alexsimkin</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1323534.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1323534</wfw:commentRss><description>&lt;p&gt;Polita,&lt;/p&gt;
&lt;p&gt;After I deleted all that duplicate parameters the application is actually started (and works fine...so far :)&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1323503.aspx</link><pubDate>Fri, 23 Jun 2006 20:56:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1323503</guid><dc:creator>alexsimkin</dc:creator><author>alexsimkin</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1323503.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1323503</wfw:commentRss><description>&lt;p&gt;There are more of these actually. Here is the "Show Detailed Compiler Output" (below)&lt;/p&gt;
&lt;p&gt;I guess there is something in the schema that makes BLink go bannanas.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;C:\WINDOWS\system32&amp;gt; "C:\Program Files\LINQ Preview\Bin\csc.exe" /noconfig /fullpaths @"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\coreweb\2138498a\e1e503be\3-ez6-o6.cmdline"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Microsoft (R) Visual C# 2005 Compiler version 8.00.50916&lt;br /&gt;for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727&lt;br /&gt;Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.&lt;br /&gt;&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(105,100): error CS0100: The parameter name 'CONTAINERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(105,121): error CS0100: The parameter name 'CONTAINERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(111,109): error CS0100: The parameter name 'CONTAINERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(111,130): error CS0100: The parameter name 'CONTAINERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(125,87): error CS0100: The parameter name 'CONTAINERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(125,108): error CS0100: The parameter name 'CONTAINERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(318,103): error CS0100: The parameter name 'CYCLECOUNTs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(324,112): error CS0100: The parameter name 'CYCLECOUNTs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(336,89): error CS0100: The parameter name 'CYCLECOUNTs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(480,85): error CS0100: The parameter name 'ITEMs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(480,101): error CS0100: The parameter name 'ITEMs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(486,94): error CS0100: The parameter name 'ITEMs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(486,110): error CS0100: The parameter name 'ITEMs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(500,77): error CS0100: The parameter name 'ITEMs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(500,93): error CS0100: The parameter name 'ITEMs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(857,91): error CS0100: The parameter name 'PALLETs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(863,100): error CS0100: The parameter name 'PALLETs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(875,81): error CS0100: The parameter name 'PALLETs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1019,124): error CS0100: The parameter name 'PREFERREDLOCATIONs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1025,133): error CS0100: The parameter name 'PREFERREDLOCATIONs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1037,103): error CS0100: The parameter name 'PREFERREDLOCATIONs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1184,123): error CS0100: The parameter name 'RECEIVINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1184,152): error CS0100: The parameter name 'RECEIVINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1190,132): error CS0100: The parameter name 'RECEIVINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1190,161): error CS0100: The parameter name 'RECEIVINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1204,103): error CS0100: The parameter name 'RECEIVINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1204,132): error CS0100: The parameter name 'RECEIVINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1286,112): error CS0100: The parameter name 'RECEIVINGLINEs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1292,121): error CS0100: The parameter name 'RECEIVINGLINEs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1304,95): error CS0100: The parameter name 'RECEIVINGLINEs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1388,174): error CS0100: The parameter name 'RECEIVINGORDERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1394,183): error CS0100: The parameter name 'RECEIVINGORDERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1410,156): error CS0100: The parameter name 'RECEIVINGORDERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1498,112): error CS0100: The parameter name 'REPLENISHMENTs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1504,121): error CS0100: The parameter name 'REPLENISHMENTs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1516,95): error CS0100: The parameter name 'REPLENISHMENTs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1791,120): error CS0100: The parameter name 'SHIPPINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1791,148): error CS0100: The parameter name 'SHIPPINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1797,129): error CS0100: The parameter name 'SHIPPINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1797,157): error CS0100: The parameter name 'SHIPPINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1811,101): error CS0100: The parameter name 'SHIPPINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1811,129): error CS0100: The parameter name 'SHIPPINGHISTORies_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1896,109): error CS0100: The parameter name 'SHIPPINGLINEs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1902,118): error CS0100: The parameter name 'SHIPPINGLINEs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1914,93): error CS0100: The parameter name 'SHIPPINGLINEs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(1998,168): error CS0100: The parameter name 'SHIPPINGORDERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2004,177): error CS0100: The parameter name 'SHIPPINGORDERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2020,151): error CS0100: The parameter name 'SHIPPINGORDERs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2256,88): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2256,105): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2256,122): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2256,139): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2262,97): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2262,114): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2262,131): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2262,148): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2280,79): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2280,96): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2280,113): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2280,130): error CS0100: The parameter name 'STOCKs_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2791,103): error CS0100: The parameter name 'SITETOUSERS_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2797,112): error CS0100: The parameter name 'SITETOUSERS_ID' is a duplicate&lt;br /&gt;c:\CoreWeb\App_Code\StaticMethods.cs(2809,89): error CS0100: The parameter name 'SITETOUSERS_ID' is a duplicate&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Code Generation Error</title><link>http://forums.asp.net/thread/1323498.aspx</link><pubDate>Fri, 23 Jun 2006 20:51:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1323498</guid><dc:creator>phuff</dc:creator><author>phuff</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1323498.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1323498</wfw:commentRss><description>This sounds like it may be a bug in the Blinq code generator.&amp;nbsp; You can get around it by removing the duplicate CONTAINERs_ID parameters to the GetCONTAINERs and GetFilteredCONTAINERs methods.&amp;nbsp; Please tell me if this works for you.</description></item><item><title>Code Generation Error</title><link>http://forums.asp.net/thread/1323382.aspx</link><pubDate>Fri, 23 Jun 2006 19:16:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1323382</guid><dc:creator>alexsimkin</dc:creator><author>alexsimkin</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1323382.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1076&amp;PostID=1323382</wfw:commentRss><description>&lt;p&gt;I was so excited to try BLinq, but... After I ran the tool (no errors)&amp;nbsp;and got web-site created, the generated code cannot be compiled:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Description: &lt;/strong&gt;&lt;font face=Arial&gt;An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. &lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;b&gt;Compiler Error Message: &lt;/b&gt;&lt;font face=Arial&gt;CS0100: The parameter name 'CONTAINERs_ID' is a duplicate&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;b&gt;Source Error:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;
&lt;table bgColor=#ffffcc&gt;

&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;pre&gt;Line 103:    // This method gets sorted and paged records of all CONTAINERs filtered by a specified field.
Line 104:    // Do not change this method.
&lt;font color=red&gt;Line 105:    public static IQueryable&amp;lt;CONTAINER&amp;gt; GetCONTAINERs(string tableName, Int32 CONTAINERs_ID, Int32 CONTAINERs_ID, Int32 CONTAINERs_ID, string sortExpression, int startRowIndex, int maximumRows) {
&lt;/font&gt;Line 106:      IQueryable&amp;lt;CONTAINER&amp;gt; x = GetFilteredCONTAINERs(tableName, CONTAINERs_ID, CONTAINERs_ID, CONTAINERs_ID);
Line 107:      return x.SortAndPage(sortExpression, startRowIndex, maximumRows, "ID");&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>