Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

OracleDataSource constructors are internal but there are valid cases to use it directly #451

Closed
@marcwittke

Description

Therefore, the only way to use the OracleDataSource is through microsoft's dependency injection abstractions.

var services = new ServiceCollection();
services.AddOracleDataSource("MyDb", "User Id=...;Password=...;Data Source=...");

I want to be able to create the OracleDataSource in scenarios without such injection container

  • using another container, like SimpleInjector
  • using Poor Man's DI in test environments

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /