What steps will reproduce the problem?
1. Passing a parameter, causes the error in a DbLinq query to Ingres
2.
3.
What is the expected output? What do you see instead?
Ingres.Client.IngresException: Local variable/parameter ':custtag' can only be
used within a database procedure
What version of the product are you using? On what operating system?
Latest svn version reading from an Ingres database
Please provide any additional information below.
The following FIX should work... please can you implement this asap.
The problem occurs in IngresVendor.cs 137/138
//string paramName = "?" + paramAttrib.Name; //eg. '?param1' MYSQL
string paramName = ":" + paramAttrib.Name; //eg. '?param1' PostgreSQL
Ingres uses a '?' for parameters not a ':' The wrong line is commented out
Original issue reported on code.google.com by scullyp...@hotmail.co.uk on 24 Aug 2010 at 10:36
Original issue reported on code.google.com by
scullyp...@hotmail.co.uk
on 24 Aug 2010 at 10:36