How create an instance which depends on a database context in ConfigureServices

前端 未结 0 588
日久生厌
日久生厌 2021-02-08 10:25

Hello StackOverflow people,

I need an instance of a class which is dependent on a database context service, e.g.

            services.AddScoped

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题