Exception on NET Core when setting a null value to a command parameter
----------------------------------------------------------------------

                 Key: DNET-775
                 URL: http://tracker.firebirdsql.org/browse/DNET-775
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 5.9.1.0
         Environment: Net Core 2
            Reporter: MichaƂ Ziemski
            Assignee: Jiri Cincura
            Priority: Critical


When setting a null to a parameter, provider crashes with "Parameter type is 
unknown."
As far as I understand the reason for this is an unnecessary preprocessor 
exclusion at line 412 in FbParameter.cs:

#if !NETSTANDARD1_6
                                case TypeCode.DBNull:
#endif

TypeCode.DBNull is part of netstandard



-- 
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

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to