Skip to content

dbsafe/dbsafe-demo

Repository files navigation

dbsafe-demo

Demonstrates how to use NuGet packages SqlDbSafe and PgDbSafe to test DAL components that connect to SQL Server and PostgreSQL.

Projects

ProductBL

Project where the domain objects are defined.

ProductDAL

A Data Access Layer that uses Entity Framework to communicate with the Product database in SQL Server.

ProductDAL.Tests

The unit test project with the integration test for testing the DAL.

ProductDAL.PG

A Data Access Layer that uses Entity Framework to communicate with the Product database in PostgreSQL.

ProductDAL.PG.Tests

Unit test project with the integration test for testing the DAL connecting to PostgreSQL.

Databases

Demo databases used by the test:

https://github.com/dbsafe/dbsafe-pg-db

https://github.com/dbsafe/dbsafe-sql-db

About

Demonstrates how to use dbsafe to test a DAL that connects to a SQL Server database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published