Subject | Re: My Integer Problem |
---|---|
Author | Adam |
Post date | 2005-11-02T10:51:10Z |
--- In firebird-support@yahoogroups.com, "ShofB" <shofb@c...> wrote:
the following code:
Parameters.Add it works fine.
Good to hear.
If you have not already, post your observations to the firebird .net
group. If it is a bug, then it is more likely to be seen by the people
who need to fix it in that list than here.
Adam
>and found what seems to be a bug in the .net interface. I am using
> Again, thanks to all that offered advice. I did a few experiments
the following code:
>an integer, assign the value to it and then reference the int in the
> FbCommand cmd = new FbCommand("ADDDIRECTORY", conn);
> cmd.CommandType = CommandType.StoredProcedure;
> cmd.Parameters.Add("@ID",ids[(int)FileTypes.Other]++);
> cmd.Parameters.Add("@PATH", path);
> cmd.Parameters.Add("@STORAGEID",0);
>
> Having the STORAGEID hardcoded to 0 causes the problem. If I create
Parameters.Add it works fine.
Good to hear.
If you have not already, post your observations to the firebird .net
group. If it is a bug, then it is more likely to be seen by the people
who need to fix it in that list than here.
Adam