AllowDbNull not following orders

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
jammerjam
Posts: 27
Joined: Wed 09 Jan 2008 22:56

AllowDbNull not following orders

Post by jammerjam » Wed 13 Feb 2008 19:13

VS2008, Win XP

I went through the wizard and add a table adapter which references a stored procedure. This stored proc has 2 input variables, one of which can be null. If I set the option for this second var to be null, save the table adapter, then view the code, I see the following:

Code: Select all




Shouldn't that first one say AllowDbNull="false"?

And why is there a space before the parameter name?

Another thing I've seen is it's pulling the character ` from my stored procedure, but then complains it can't find a variable to insert into.

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Thu 14 Feb 2008 13:23

Please send me (alexey*crlab*com) a small test project to reproduce the problem.
Include the definition of your own database objects. Do not use third party components.
Please attach a brief walkthrough to reproduce the problem.

Post Reply