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.All
Microsoft.AspNetCore.All
45
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
46
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
47
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
48
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
53
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.
45
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.
46
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.
53
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.
59
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.
50
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.
51
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.
53
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.
58
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.
64
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/1016eae4004686f7fdad13f5c329f63bbae1f3a1
59
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
44

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