dotnet-ef 10.0.0-preview.1.25081.1

Prefix Reserved
This is a prerelease version of dotnet-ef.
dotnet tool install --global dotnet-ef --version 10.0.0-preview.1.25081.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-ef --version 10.0.0-preview.1.25081.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-ef&version=10.0.0-preview.1.25081.1&prerelease                
nuke :add-package dotnet-ef --version 10.0.0-preview.1.25081.1                

The Entity Framework Core tools help with design-time development tasks. They're primarily used to manage Migrations and to scaffold a DbContext and entity types by reverse engineering the schema of a database.

This package, dotnet-ef is for cross-platform command line tooling that can be used anywhere.

Usage

Install the tool package using:

dotnet tool install --global dotnet-ef

The available commands are listed in the following table.

Command Usage
dotnet ef --help Displays information about Entity Framework commands.
dotnet ef database drop Drops the database.
dotnet ef database update Updates the database to the last migration or to a specified migration
dotnet ef dbcontext info Gets information about a DbContext type.
dotnet ef dbcontext list Lists available DbContext types.
dotnet ef dbcontext optimize Generates a compiled version of the model used by the DbContext.
dotnet ef dbcontext scaffold Generates a DbContext and entity type classes for a specified database.
dotnet ef dbcontext script Generates a SQL script from the DbContext. Bypasses any migrations.
dotnet ef migrations add Adds a new migration.
dotnet ef migrations bundle Creates an executable to update the database.
dotnet ef migrations has-pending-model-changes Checks if any changes have been made to the model since the last migration.
dotnet ef migrations list Lists available migrations.
dotnet ef migrations remove Removes the last migration.
dotnet ef migrations script Generates a SQL script from the migrations.

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.

Feedback

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

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
10.0.0-preview.1.25081.1 35 2/25/2025
9.0.2 691,306 2/11/2025
9.0.1 1,086,501 1/14/2025
9.0.0 2,480,757 11/12/2024
9.0.0-rc.2.24474.1 4,960 10/8/2024
9.0.0-rc.1.24451.1 2,682 9/10/2024
9.0.0-preview.7.24405.3 1,571 8/13/2024
9.0.0-preview.6.24327.4 1,729 7/9/2024
9.0.0-preview.5.24306.3 1,671 6/11/2024
9.0.0-preview.4.24267.1 1,189 5/21/2024
9.0.0-preview.3.24172.4 1,733 4/11/2024
9.0.0-preview.2.24128.4 1,402 3/12/2024
9.0.0-preview.1.24081.2 1,749 2/13/2024
8.0.13 45,142 2/11/2025
8.0.12 115,583 1/14/2025
8.0.11 360,621 11/12/2024
8.0.10 1,909,414 10/8/2024
8.0.8 3,275,898 8/13/2024
8.0.7 1,765,970 7/9/2024
8.0.6 2,532,072 5/28/2024
8.0.5 814,005 5/14/2024
8.0.4 1,980,827 4/9/2024
8.0.3 1,419,159 3/12/2024
8.0.2 1,512,883 2/13/2024
8.0.1 1,925,526 1/9/2024
8.0.0 2,867,970 11/14/2023
8.0.0-rc.2.23480.1 19,627 10/10/2023
8.0.0-rc.1.23419.6 7,704 9/12/2023
8.0.0-preview.7.23375.4 2,157 8/8/2023
8.0.0-preview.6.23329.4 2,867 7/11/2023
8.0.0-preview.5.23280.1 1,765 6/13/2023
8.0.0-preview.4.23259.3 2,120 5/16/2023
8.0.0-preview.3.23174.2 2,472 4/11/2023
8.0.0-preview.2.23128.3 1,943 3/14/2023
8.0.0-preview.1.23111.4 981 2/21/2023
7.0.20 159,540 5/28/2024
7.0.19 31,509 5/14/2024
7.0.18 64,398 4/9/2024
7.0.17 93,141 3/12/2024
7.0.16 135,584 2/13/2024
7.0.15 170,200 1/9/2024
7.0.14 871,847 11/14/2023
7.0.13 1,431,717 10/24/2023
7.0.12 665,517 10/10/2023
7.0.11 1,242,368 9/12/2023
7.0.10 1,576,706 8/8/2023
7.0.9 1,111,538 7/11/2023
7.0.8 747,856 6/22/2023
7.0.7 429,279 6/13/2023
7.0.5 2,514,027 4/11/2023
7.0.4 1,031,898 3/14/2023
7.0.3 1,218,133 2/14/2023
7.0.2 1,344,578 1/10/2023
7.0.1 772,281 12/13/2022
7.0.0 1,593,265 11/7/2022
7.0.0-rc.2.22472.11 3,945 10/11/2022
7.0.0-rc.1.22426.7 3,364 9/14/2022
7.0.0-preview.7.22376.2 1,734 8/9/2022
7.0.0-preview.6.22329.4 2,751 7/12/2022
7.0.0-preview.5.22302.2 2,623 6/14/2022
7.0.0-preview.4.22229.2 2,613 5/10/2022
7.0.0-preview.3.22175.1 1,058 4/13/2022
7.0.0-preview.2.22153.1 781 3/14/2022
7.0.0-preview.1.22076.6 2,118 2/17/2022
6.0.36 46,420 11/12/2024
6.0.35 36,471 10/8/2024
6.0.33 56,135 8/13/2024
6.0.32 26,476 7/9/2024
6.0.31 53,500 5/28/2024
6.0.30 19,327 5/14/2024
6.0.29 56,582 4/9/2024
6.0.28 64,778 3/12/2024
6.0.27 55,426 2/13/2024
6.0.26 80,646 1/9/2024
6.0.25 222,089 11/14/2023
6.0.24 53,446 10/24/2023
6.0.23 37,359 10/10/2023
6.0.22 49,879 9/12/2023
6.0.21 86,600 8/8/2023
6.0.20 67,739 7/11/2023
6.0.19 55,777 6/22/2023
6.0.18 34,490 6/13/2023
6.0.16 145,132 4/11/2023
6.0.15 104,593 3/14/2023
6.0.14 140,378 2/14/2023
6.0.13 161,167 1/10/2023
6.0.12 134,245 12/13/2022
6.0.11 290,858 11/7/2022
6.0.10 1,307,769 10/11/2022
6.0.9 1,032,271 9/13/2022
6.0.8 1,616,403 8/9/2022
6.0.7 1,382,730 7/12/2022
6.0.6 1,128,967 6/14/2022
6.0.5 1,688,518 5/10/2022
6.0.4 677,515 4/11/2022
6.0.3 804,975 3/8/2022
6.0.2 607,190 2/8/2022
6.0.1 1,043,873 12/14/2021
6.0.0 1,160,803 11/8/2021
6.0.0-rc.2.21480.5 7,149 10/12/2021
6.0.0-rc.1.21452.10 9,110 9/14/2021
6.0.0-preview.7.21378.4 12,922 8/10/2021
6.0.0-preview.6.21352.1 1,392 7/14/2021
6.0.0-preview.5.21301.9 1,843 6/15/2021
6.0.0-preview.4.21253.1 1,044 5/24/2021
6.0.0-preview.3.21201.2 8,781 4/8/2021
6.0.0-preview.2.21154.2 1,515 3/11/2021
6.0.0-preview.1.21102.2 1,468 2/12/2021
5.0.17 210,377 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 22,195 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 20,366 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 17,913 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 37,414 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 60,349 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 406,415 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 452,953 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 423,757 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 367,420 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 444,048 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 435,440 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 498,843 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 295,158 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 377,336 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 327,150 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 372,244 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 473,751 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 6,695 10/13/2020
5.0.0-rc.1.20451.13 10,935 9/14/2020
5.0.0-preview.8.20407.4 2,978 8/25/2020
5.0.0-preview.7.20365.15 1,685 7/21/2020
5.0.0-preview.6.20312.4 4,626 6/25/2020
5.0.0-preview.5.20278.2 2,243 6/10/2020
5.0.0-preview.4.20220.10 873 5/18/2020
5.0.0-preview.3.20181.2 1,402 4/23/2020
5.0.0-preview.2.20159.4 765 4/2/2020
5.0.0-preview.2.20120.8 1,060 3/16/2020
3.1.32 75,463 12/13/2022
3.1.31 10,020 11/8/2022
3.1.30 11,010 10/11/2022
3.1.29 12,501 9/13/2022
3.1.28 22,239 8/9/2022
3.1.27 24,810 7/12/2022
3.1.26 28,535 6/14/2022
3.1.25 12,930 5/10/2022
3.1.24 8,990 4/11/2022
3.1.23 12,440 3/8/2022
3.1.22 27,077 12/14/2021
3.1.21 21,208 11/7/2021
3.1.20 16,103 10/11/2021
3.1.19 21,692 9/14/2021
3.1.18 27,355 8/10/2021
3.1.17 25,261 7/13/2021
3.1.16 23,571 6/8/2021
3.1.15 17,511 5/11/2021
3.1.14 44,958 4/6/2021
3.1.13 40,424 3/9/2021
3.1.12 48,289 2/9/2021
3.1.11 34,072 1/12/2021
3.1.10 126,057 11/9/2020
3.1.9 327,220 10/13/2020
3.1.8 371,580 9/8/2020
3.1.7 313,276 8/11/2020
3.1.6 330,802 7/14/2020
3.1.5 318,981 6/9/2020
3.1.4 302,050 5/12/2020
3.1.3 526,126 3/24/2020
3.1.2 352,094 2/19/2020
3.1.1 513,231 1/14/2020
3.1.0 505,077 12/3/2019
3.1.0-preview3.19554.8 3,841 11/13/2019
3.1.0-preview2.19525.5 825 11/1/2019
3.1.0-preview1.19506.2 2,122 10/15/2019
3.0.3 12,041 2/19/2020
3.0.2 9,207 1/14/2020
3.0.1 24,810 11/18/2019
3.0.0 547,573 9/23/2019
3.0.0-rc1.19456.14 1,828 9/16/2019
3.0.0-preview9.19423.6 3,243 9/4/2019
3.0.0-preview8.19405.11 5,597 8/13/2019
3.0.0-preview7.19362.6 6,917 7/23/2019
3.0.0-preview6.19304.10 2,398 6/12/2019
3.0.0-preview5.19227.1 2,583 5/6/2019
3.0.0-preview4.19216.3 8,236 4/18/2019
3.0.0-preview3.19153.1 1,356 3/6/2019
3.0.0-preview.19074.3 2,093 1/29/2019
3.0.0-preview.18572.1 2,825 12/3/2018
2.2.6 77,788 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.3 8,762 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 9,440 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 9,367 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 37,774 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 7,717 10/17/2018
2.2.0-preview2-35157 7,753 9/12/2018
2.2.0-preview1-35029 7,885 8/22/2018
2.1.14 24,459 11/18/2019
2.1.11 10,960 5/14/2019
2.1.8 8,355 2/12/2019
2.1.4 19,760 10/1/2018
2.1.3 9,193 9/11/2018
2.1.2 8,497 8/21/2018
2.1.1 13,511 6/18/2018
2.1.0 37,629 5/29/2018