Easier Mocking of EntityFramework DBSets: EntityFramework.Testing

If you have an application that uses EntityFramework, and you are writing unit tests for this application, you will probably benefit from mocking EF. For example, this will allow you to run your unit tests without actually connecting it to a database and can be very useful if you run your unit tests on a […]

Continue reading "Easier Mocking of EntityFramework DBSets: EntityFramework.Testing"

EntityFramework and PostgreSQL: Which Nuget Package to Use?

This is just a quick answer to a fairly common question for developers starting to mix EntityFramework and PostgreSQL: When using EntityFramework for PostgreSQL, the correct NuGet package to use is EntityFramework6.Npgsql. The other package, Npgsql.EntityFramework appears to be the older version and is no longer updated.   LTN Software provides professional web, desktop, and mobile software […]

Continue reading "EntityFramework and PostgreSQL: Which Nuget Package to Use?"