Dapper with .NET Core - injected SqlConnection lifetime/scope

后端 未结 0 1468
孤城傲影
孤城傲影 2021-02-12 16:58

I\'m using .NET Core Dependency Injection to instantiate a SqlConnection object during the application startup, which I\'m then planning to inject in my repository.

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