Unit Testing the Repository Pattern Without EF [closed]
问题 Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 18 hours ago . Improve this question I have created a simple Web API that interfaces with a MySQL Database. I am old school and like using SqlConnection/SqlCommand classes to interact with the database, no ORM/no EF. I have created a MySQL DbContext so that I can use DI to inject the MySQL specifics and