Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception on NET Core when setting a null value to a command parameter [DNET775] #714

Closed
firebird-issue-importer opened this issue Aug 24, 2017 · 2 comments

Comments

@firebird-issue-importer

Submitted by: Michał Ziemski (r_o_o_k)

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Aug 24, 2017

Commented by: @cincuranet

It's available only for .NET Standard 2.0. In 1.6 it's missing. And full support for .NET Standard 2.0 is going to happen in next version (5.10 excluded).

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Aug 24, 2017

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants