How to mock the this.context.Database.BeginTransaction() in Asp.net Core?

前端 未结 0 377
既然无缘
既然无缘 2021-02-11 14:26

How to mock the begintransaction? using moq framework in asp.net core.

using var databaseContexttransaction = context.Database.BeginTransaction();
相关标签:
回答
  • 消灭零回复
提交回复
热议问题