Microsoft.EntityFrameworkCore.InMemory 9.0.0-preview.5.24306.3

Microsoft.EntityFrameworkCore.InMemory is the EF Core database provider package for the built-in in-memory database.

This database provider allows Entity Framework Core to be used with an in-memory database. While it has become common to use the in-memory database for testing, this is discouraged. For more information on how to test EF Core applications, see Testing EF Core Applications.

Usage

Call the UseInMemoryDatabase method to choose the SQL Server/Azure SQL database provider for your DbContext. For example:

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
    optionsBuilder.UseInMemoryDatabase("MyDatabase");
}

Getting started with EF Core

See Getting started with EF Core for more information about EF NuGet packages, including which to install when getting started.

Additional documentation

See Microsoft SQL Server EF Core Database Provider for more information about the features of this database provider.

Feedback

If you encounter a bug or issues with this package,you can open an Github issue. For more details, see getting support.

Showing the top 20 packages that depend on Microsoft.EntityFrameworkCore.InMemory.

Packages Downloads
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
32
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
29
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
28
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
27
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
26
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
25
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
24
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
23
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
22
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
21
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
20
AspNetCore.HealthChecks.UI.InMemory.Storage
HealthChecks.UI.InMemory.Storage package contains the required classes to use InMemory provider in the UI
18

.NET 8.0

Version Downloads Last updated
9.0.0-rc.2.24474.1 3 10/12/2024
9.0.0-rc.1.24451.1 7 09/11/2024
9.0.0-preview.7.24405.3 7 08/13/2024
9.0.0-preview.6.24327.4 7 07/11/2024
9.0.0-preview.5.24306.3 10 06/19/2024
9.0.0-preview.4.24267.1 10 05/31/2024
9.0.0-preview.3.24172.4 7 04/12/2024
9.0.0-preview.2.24128.4 10 04/14/2024
9.0.0-preview.1.24081.2 8 02/21/2024
8.0.10 1 10/13/2024
8.0.8 5 08/19/2024
8.0.7 7 07/12/2024
8.0.6 9 06/03/2024
8.0.5 10 05/19/2024
8.0.4 9 04/14/2024
8.0.3 7 04/14/2024
8.0.2 12 02/20/2024
8.0.1 13 02/01/2024
8.0.0 9 11/20/2023
8.0.0-rc.2.23480.1 8 11/03/2023
8.0.0-rc.1.23419.6 12 12/02/2023
8.0.0-preview.7.23375.4 13 08/14/2023
8.0.0-preview.6.23329.4 11 10/25/2023
8.0.0-preview.5.23280.1 11 06/30/2023
8.0.0-preview.4.23259.3 10 09/18/2023
8.0.0-preview.3.23174.2 8 12/10/2023
8.0.0-preview.2.23128.3 13 08/10/2023
8.0.0-preview.1.23111.4 14 12/04/2023
7.0.20 9 06/03/2024
7.0.19 4 05/28/2024
7.0.18 8 04/13/2024
7.0.17 8 04/14/2024
7.0.16 7 02/21/2024
7.0.15 4 02/08/2024
7.0.14 9 12/09/2023
7.0.13 8 12/27/2023
7.0.12 10 12/27/2023
7.0.11 12 12/24/2023
7.0.10 12 12/27/2023
7.0.9 15 11/11/2023
7.0.8 15 08/15/2023
7.0.7 9 12/07/2023
7.0.5 15 06/16/2023
7.0.4 14 07/01/2023
7.0.3 12 07/22/2023
7.0.2 8 12/27/2023
7.0.1 10 12/27/2023
7.0.0 15 06/05/2023
7.0.0-rc.2.22472.11 10 12/27/2023
7.0.0-rc.1.22426.7 9 07/22/2023
7.0.0-preview.7.22376.2 12 09/05/2023
7.0.0-preview.6.22329.4 16 06/05/2023
7.0.0-preview.5.22302.2 16 06/04/2023
7.0.0-preview.4.22229.2 11 12/27/2023
7.0.0-preview.3.22175.1 16 06/03/2023
7.0.0-preview.2.22153.1 10 06/04/2023
7.0.0-preview.1.22076.6 10 10/10/2023
6.0.35 5 10/12/2024
6.0.33 6 08/18/2024
6.0.32 4 07/13/2024
6.0.31 7 06/03/2024
6.0.30 8 05/28/2024
6.0.29 6 04/14/2024
6.0.28 6 04/03/2024
6.0.27 7 02/20/2024
6.0.26 8 02/01/2024
6.0.25 8 12/27/2023
6.0.24 10 12/27/2023
6.0.23 8 12/24/2023
6.0.22 10 12/25/2023
6.0.21 13 11/03/2023
6.0.20 16 10/20/2023
6.0.19 9 11/25/2023
6.0.18 11 11/26/2023
6.0.16 9 11/26/2023
6.0.15 10 07/02/2023
6.0.14 6 12/27/2023
6.0.13 8 11/27/2023
6.0.12 7 12/27/2023
6.0.11 7 12/27/2023
6.0.10 5 11/27/2023
6.0.9 10 06/30/2023
6.0.8 13 10/15/2023
6.0.7 14 10/25/2023
6.0.6 14 07/01/2023
6.0.5 11 06/06/2023
6.0.4 12 06/05/2023
6.0.3 11 12/27/2023
6.0.2 9 09/05/2023
6.0.1 11 10/23/2023
6.0.0 10 08/15/2023
6.0.0-rc.2.21480.5 11 06/03/2023
6.0.0-rc.1.21452.10 11 06/04/2023
6.0.0-preview.7.21378.4 13 06/06/2023
6.0.0-preview.6.21352.1 12 12/27/2023
6.0.0-preview.5.21301.9 9 12/18/2023
6.0.0-preview.4.21253.1 10 12/27/2023
6.0.0-preview.3.21201.2 11 12/09/2023
6.0.0-preview.2.21154.2 12 12/27/2023
6.0.0-preview.1.21102.2 12 12/27/2023
5.0.17 8 12/09/2023
5.0.16 12 06/15/2023
5.0.15 16 09/13/2023
5.0.14 15 07/05/2023
5.0.13 6 12/27/2023
5.0.12 7 12/27/2023
5.0.11 10 11/27/2023
5.0.10 7 12/27/2023
5.0.9 12 12/20/2023
5.0.8 15 10/30/2023
5.0.7 13 12/27/2023
5.0.6 11 12/27/2023
5.0.5 10 12/27/2023
5.0.4 10 12/27/2023
5.0.3 11 11/18/2023
5.0.2 13 12/03/2023
5.0.1 10 11/01/2023
5.0.0 11 12/23/2023
5.0.0-rc.2.20475.6 9 12/27/2023
5.0.0-rc.1.20451.13 11 11/26/2023
5.0.0-preview.8.20407.4 8 12/27/2023
5.0.0-preview.7.20365.15 6 12/27/2023
5.0.0-preview.6.20312.4 16 11/15/2023
5.0.0-preview.5.20278.2 8 12/27/2023
5.0.0-preview.4.20220.10 7 12/27/2023
5.0.0-preview.3.20181.2 7 12/27/2023
5.0.0-preview.2.20159.4 12 12/27/2023
5.0.0-preview.2.20120.8 11 12/27/2023
3.1.32 9 12/27/2023
3.1.31 6 12/27/2023
3.1.30 7 12/27/2023
3.1.29 6 12/02/2023
3.1.28 8 12/27/2023
3.1.27 8 12/27/2023
3.1.26 5 12/27/2023
3.1.25 6 12/27/2023
3.1.24 6 12/27/2023
3.1.23 11 10/05/2023
3.1.22 10 11/26/2023
3.1.21 12 12/27/2023
3.1.20 7 12/27/2023
3.1.19 9 12/27/2023
3.1.18 11 12/01/2023
3.1.17 7 12/27/2023
3.1.16 6 11/27/2023
3.1.15 14 11/10/2023
3.1.14 8 12/22/2023
3.1.13 9 10/24/2023
3.1.12 8 02/04/2024
3.1.11 8 12/27/2023
3.1.10 7 11/22/2023
3.1.9 9 12/27/2023
3.1.8 13 12/19/2023
3.1.7 7 12/27/2023
3.1.6 13 12/14/2023
3.1.5 13 11/05/2023
3.1.4 9 12/27/2023
3.1.3 11 12/27/2023
3.1.2 10 12/26/2023
3.1.1 13 12/24/2023
3.1.0 8 12/27/2023
3.1.0-preview3.19554.8 8 10/17/2023
3.1.0-preview2.19525.5 8 12/27/2023
3.1.0-preview1.19506.2 9 12/27/2023
3.0.3 13 11/26/2023
3.0.2 12 12/27/2023
3.0.1 8 12/27/2023
3.0.0 11 12/08/2023
3.0.0-rc1.19456.14 6 12/27/2023
3.0.0-preview9.19423.6 13 12/27/2023
3.0.0-preview8.19405.11 6 12/27/2023
3.0.0-preview7.19362.6 8 12/27/2023
3.0.0-preview6.19304.10 9 12/27/2023
3.0.0-preview5.19227.1 6 12/27/2023
3.0.0-preview4.19216.3 7 12/27/2023
3.0.0-preview3.19153.1 11 12/27/2023
3.0.0-preview.19074.3 7 12/27/2023
3.0.0-preview.18572.1 10 12/27/2023
2.2.6 9 10/21/2023
2.2.4 8 12/23/2023
2.2.3 15 12/23/2023
2.2.2 13 12/16/2023
2.2.1 10 11/19/2023
2.2.0 14 10/23/2023
2.2.0-preview3-35497 7 11/08/2023
2.2.0-preview2-35157 11 11/07/2023
2.2.0-preview1-35029 9 11/08/2023
2.1.14 9 10/28/2023
2.1.11 8 12/26/2023
2.1.8 10 12/14/2023
2.1.4 11 12/27/2023
2.1.3 11 12/27/2023
2.1.2 7 12/27/2023
2.1.1 18 11/01/2023
2.1.0 10 12/30/2023
2.1.0-rc1-final 10 11/24/2023
2.1.0-preview2-final 10 12/27/2023
2.1.0-preview1-final 7 11/24/2023
2.0.3 8 09/11/2023
2.0.2 12 11/30/2023
2.0.1 11 11/30/2023
2.0.0 13 11/15/2023
2.0.0-preview2-final 13 11/23/2023
2.0.0-preview1-final 10 11/24/2023
1.1.6 15 12/13/2023
1.1.5 13 11/25/2023
1.1.4 16 12/28/2023
1.1.3 10 10/20/2023
1.1.2 15 12/15/2023
1.1.1 10 12/11/2023
1.1.0 13 12/21/2023
1.1.0-preview1-final 9 11/24/2023
1.0.6 10 12/29/2023
1.0.5 9 12/29/2023
1.0.4 10 11/30/2023
1.0.3 8 01/01/2024
1.0.2 10 02/21/2024
1.0.1 11 11/28/2023
1.0.0 8 12/25/2023
1.0.0-rc2-final 12 11/15/2023