How to initialize IServiceScopeFactory in test to use Entity Framework core InMemory Database

前端 未结 0 438
无人及你
无人及你 2021-01-22 05:37

I have HotelRepository class which includes crud functions, i want to test all my repository using EF core in memory database but I am stuck because my repository class construc

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