How to get connection from EntityFrameworkCore DBContext?

后端 未结 0 1568
被撕碎了的回忆
被撕碎了的回忆 2021-02-13 11:23

I am trying to get connection from EntityFrameworkCore DBContext to invoke custom sql in the same transaction. However returned connection is in closed state.

Sql         


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