From: Zvjezdan T. (JIRA) <tr...@fi...> - 2013-12-13 19:09:16
|
FbParameter constructor not treating 0 as number, but uses null --------------------------------------------------------------- Key: DNET-536 URL: http://tracker.firebirdsql.org/browse/DNET-536 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 4.0.0.0 Environment: Win7 64 Reporter: Zvjezdan Tomicevic Assignee: Jiri Cincura Hi. After using Fbparameeter constructor as FbParameter pTableId = new FbParameter("@table_id", 0); (string parametername, object value) pTableId.Value remains null instead of zero. Fix is: pTableId.Value = 0; But it was hell to debug and locate -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |