Skip to content

Basic support for NpgsqlDataSource #2400

Closed

Description

@roji

With NpgsqlDataSource getting implemented at the ADO.NET layer (npgsql/npgsql#4495), we'll need to react in the EF provider.

As a first basic step, accept an NpgsqlDataSource in UseNpgsql rather than a connection string.

We could also obsolete providing the SSL/TLS callbacks directly on the EF options builder. However, we had a similar ADO discussion about whether to obsolete the SSL/TLS callbacks on NpgsqlConnection, and decided against it for now; we should do the same in EF (i.e. obsolete the EF options builder hooks when we obsolete the NpgsqlConnections ones).

We can also think about improving type mapping customization support (plugins and enums), but that's complex; tracked by #2518 for the future.

Activity

  1. added this to the 7.0.0 milestone on Jun 7, 2022
  2. self-assigned this
    on Jun 7, 2022
  3. added a commit that references this issue on Jul 13, 2022
  4. added a commit that references this issue on Sep 17, 2022
  5. changed the title [-]Support NpgsqlDataSource[/-] [+]Basic support for NpgsqlDataSource[/+] on Oct 7, 2022
  6. linked a pull request that will close this issueSupport DbDataSource #2429on Oct 7, 2022
  7. added theissue type on Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions