Skip to content

Can't use Postgres package together with Sqlite package in net9 #155

@alex-zyl

Description

@alex-zyl

Looks like two packages conflicting, making it impossible to resolve sqlite server type.

STR:

  1. Create net9 project that references EFCore.BulkExtensions.MIT.PostgreSql and set up DbContext
  2. Create net9 unit-test project that references EFCore.BulkExtensions.MIT.Sqlite
  3. In unit-tests project, configure DbContext to use Sqlite datasource and invoke library method like BulkInsertOrUpdateAsync()
  4. Run unit-test

Upon executing the operation, SqlAdaptersMapping tries to call dbServerType = Type.GetType(efCoreBulkExtensionsSqlAdaptersText.SQLite.SqlLiteDbServer"); that returns null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions