Demonstrates how to use NuGet packages SqlDbSafe and PgDbSafe to test DAL components that connect to SQL Server and PostgreSQL.
Project where the domain objects are defined.
A Data Access Layer that uses Entity Framework to communicate with the Product database in SQL Server.
The unit test project with the integration test for testing the DAL.
A Data Access Layer that uses Entity Framework to communicate with the Product database in PostgreSQL.
Unit test project with the integration test for testing the DAL connecting to PostgreSQL.
Demo databases used by the test: