Skip to content

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

@swsch

Description

@swsch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions