Visual studio 2012 error on creating LinqConnect
Visual studio 2012 error on creating LinqConnect
When I try to generate .lqml file threw wizard, I get the following error on the very last end, when I press the finish button: "A method name "TEST" already exists. Please choose a different name." Any ideas why???
Re: Visual studio 2012 error on creating LinqConnect
This error occurs when attempting to add a method with the same name as one of methods already available in the model. However, if this is done automatically (e.g., the method is added by a wizard), Entity Developer should implicitly change the name of the second method.
Could you please specify the following, so that we are able to analyze the issue in more details:
- the version of LinqConnect you are using;
- the DBMS you are working with, etc.;
If possible, please specify the script needed to create the database objects and/or send us the model with which the issue occurs.
Could you please specify the following, so that we are able to analyze the issue in more details:
- the version of LinqConnect you are using;
- the DBMS you are working with, etc.;
If possible, please specify the script needed to create the database objects and/or send us the model with which the issue occurs.
Re: Visual studio 2012 error on creating LinqConnect
Thank you for your reply. Here is some data:
LinqConnect version: 4.4.403.0
Visual Studio 2012 version: 11.0.50727.1
Development OS: Windows 8.1
Oracle database 11g version: 11.2.0.2.0
I'we checked the .lqml file that was generated, and it actually has two methods with name "Test"
<Function Name="KPA.TEST" Method="TEST" ed:Guid="afd97ebe-4763-4f4b-9973-cb6563480f0f">
<Return Type="System.Int32" />
</Function>
<Function Name="KPA.TEST_DATUMOV.TEST" Method="TEST" ed:Guid="7d1f967d-8b7a-4178-9bc4-37974da65e0d">
<Parameter Name="IN_DATUM" Type="System.DateTime" DbType="DATE" />
<Return Type="System.Int32" />
</Function>
Error occurs regarding of which tables or views from database I want to generate LinqConnect with wizard. Even if only one view is selected to generate Linq, error still occurs.
I tested also with the same version of LinqConnect with VisualStudio 2010 on another machine. The same error occurs.
LinqConnect version: 4.4.403.0
Visual Studio 2012 version: 11.0.50727.1
Development OS: Windows 8.1
Oracle database 11g version: 11.2.0.2.0
I'we checked the .lqml file that was generated, and it actually has two methods with name "Test"
<Function Name="KPA.TEST" Method="TEST" ed:Guid="afd97ebe-4763-4f4b-9973-cb6563480f0f">
<Return Type="System.Int32" />
</Function>
<Function Name="KPA.TEST_DATUMOV.TEST" Method="TEST" ed:Guid="7d1f967d-8b7a-4178-9bc4-37974da65e0d">
<Parameter Name="IN_DATUM" Type="System.DateTime" DbType="DATE" />
<Return Type="System.Int32" />
</Function>
Error occurs regarding of which tables or views from database I want to generate LinqConnect with wizard. Even if only one view is selected to generate Linq, error still occurs.
I tested also with the same version of LinqConnect with VisualStudio 2010 on another machine. The same error occurs.
Re: Visual studio 2012 error on creating LinqConnect
We couldn't reproduce this issue in our environment. Please send us the DDL/DML scripts for the database objects that should be added to the model and with which the error occurs, so that we are able to find its reason and solution.