google-code-export / dblinq2007

Automatically exported from code.google.com/p/dblinq2007
Other
0 stars 0 forks source link

MySQL SET fix + fuction return parameter fix #297

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
DbLinq version: 0.20.1
OS:     Win7 x64
MySQL:      5.5
.NET connector: 6.2.2.0

Current version of DbLinq does not generate code properly if any table/store 
procedure/function contains SET type.

Use the script/bat file in the root of the zip attached to reproduce.
Use WinMerge (http://winmerge.org/) or any other application to see the 
differences.

The source code attached includes fixes for the the following bugs:

1) Code generation when database schema contains contains SET
a) Stored procs
b) Tables
2) Generated code compiles and executes properly
3) Improved detection of datatype length detection.  For instance in DbLinq 
0.20.1  tynyint(1) is generated as sbyte.  Now generated as bool which is 
correct behavior.
4) Fixes under this thread posted on Nov 13,2010

http://code.google.com/p/dblinq2007/issues/detail?can=2&q=238&colspec=ID%20Type%
20Status%20Priority%20Component%20Owner%20Summary&id=238

Please validate correctness of fixes and include with the next build. 

Original issue reported on code.google.com by ipsoft...@gmail.com on 8 Dec 2010 at 2:20

Attachments: