Using other databases

Entity Framework, being a modern, modular and extensible data access tool, supports several datastores. In fact, starting with Core 1.0, it even has built-in support for non-relational databases. It is expected that Microsoft and third parties will start making non-relational providers available very soon. In the meantime, we already have support for a number of relational databases:

Database

Provider

Microsoft SQL Server

Microsoft.EntityFrameworkCore.SqlServer

SQLite

Microsoft.EntityFrameworkCore.SQLite

PostgreSQL

Npgsql.EntityFrameworkCore.PostgreSQL

In Memory

Microsoft.EntityFrameworkCore.InMemory

MySQL

Pomelo.EntityFrameworkCore.MySql

Note

These are just some of the providers that are available for ...

Get Entity Framework Core Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.