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

前端 未结 0 1748
栀梦
栀梦 2021-02-11 14:40

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

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