Add a DbProviderFactory without an App.Config

前端 未结 8 1773
无人共我
无人共我 2020-12-13 06:52

I am using DbProviderFactories in my data layer (based on Entity Framework) and am using SQLite for my database, but I don\'t have to have a App.Config to have the following

8条回答
  •  悲&欢浪女
    2020-12-13 07:09

    In .NET Core 2.1 and later you can use DbProviderFactories.RegisterFactory to programmatically register a DbProviderFactory.

提交回复
热议问题