O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Entity Framework Core

For our database operations we are going to use the Entity Framework, Microsoft's Object Relational Mapper (ORM). The Entity Framework (EF) has a .NET Core version and PostgreSQL has an EF Core Provider. I could write a book on EF alone, but for now, it suffices to know there are basically three ways of working with EF: database first, code first, or a mix of the two. The database first approach assumes you have a database already in place and generates, or lets you manually write, classes based on that. In code, first you basically describe your database in code, after which EF generates the scripts necessary to (automatically) update your database to the latest schema. The third approach assumes you already have a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required