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

Nullable value types in 8.0 on Release Notes vs Strongly Typed Parameters on Basic Usage #344

Open
swsch opened this issue Jun 5, 2024 · 0 comments

Comments

@swsch
Copy link

swsch commented Jun 5, 2024

Basic Usage seems to be not up to date:

Release Notes > 8.0 > Other Features:

Allow using nullable value types with the generic NpgsqlParameter<T>, e.g. NpgsqlParameter<int?>

Basic usage > Parameters > Strongly Typed Parameters:

As an alternative, you can use NpgsqlParameter<T>. ... Unfortunately, using nullable value types (in order to send nulls) isn't yet supported - you'll have to use the non-generic parameter API for that.

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

No branches or pull requests

1 participant