Dapper with .NET Core - injected SqlConnection lifetime/scope

后端 未结 0 1640
执笔经年
执笔经年 2021-02-12 17:32

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.

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