Microsoft.EntityFrameworkCore.InMemory 9.0.0

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
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
49
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
46
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
45
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
35
Microsoft.AspNetCore.App
Microsoft.AspNetCore.App
34
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
32
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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. This package was built from the source at: https://github.com/aspnet/Universe/tree/244e037a222a7cd0a17feafb7f3a625fde40de97
29
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
23
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
22
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
17
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.
15
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
14
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
12
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
11
Microsoft.AspNetCore.App
Microsoft.AspNetCore.App
11
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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.
10
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
10

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