DbMocker (nuget): This .NET library simplifies data mocking for UnitTests, to avoid a connection to a relational database. DbMocker use the standard Microsoft .NET DbConnection object. So, you can mock any toolkit,  including EntityFramework, Dapper or ADO.NET; And for all database servers (SQL Server, Oracle, SQLite).  ``` var conn = new MockDbConnection(); conn.Mocks     .When(cmd => cmd.CommandText.Contains("SELECT COUNT(*) FROM EMP"))     .ReturnsScalar(14); ```
Keywords: DbMocker|Mocker|SQLServer|Oracle|Sqlite|EntityFramework|EF|Dapper|UnitTest