dotnet-ef
10.0.0-preview.4.25258.110
Prefix Reserved
This is a prerelease version of dotnet-ef.
dotnet tool install --global dotnet-ef --version 10.0.0-preview.4.25258.110
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local dotnet-ef --version 10.0.0-preview.4.25258.110
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-ef&version=10.0.0-preview.4.25258.110&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-ef --version 10.0.0-preview.4.25258.110
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
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.4.25258.110 | 570 | 5/12/2025 | |
10.0.0-preview.3.25171.6 | 880 | 4/10/2025 | |
10.0.0-preview.2.25163.8 | 706 | 3/18/2025 | |
10.0.0-preview.1.25081.1 | 746 | 2/25/2025 | |
9.0.5 | 823,129 | 5/13/2025 | |
9.0.4 | 1,901,093 | 4/8/2025 | |
9.0.3 | 1,650,400 | 3/11/2025 | |
9.0.2 | 1,632,717 | 2/11/2025 | |
9.0.1 | 1,460,319 | 1/14/2025 | |
9.0.0 | 2,734,195 | 11/12/2024 | |
9.0.0-rc.2.24474.1 | 5,510 | 10/8/2024 | |
9.0.0-rc.1.24451.1 | 2,798 | 9/10/2024 | |
9.0.0-preview.7.24405.3 | 1,702 | 8/13/2024 | |
9.0.0-preview.6.24327.4 | 2,050 | 7/9/2024 | |
9.0.0-preview.5.24306.3 | 1,801 | 6/11/2024 | |
9.0.0-preview.4.24267.1 | 1,304 | 5/21/2024 | |
9.0.0-preview.3.24172.4 | 1,887 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 1,577 | 3/12/2024 | |
9.0.0-preview.1.24081.2 | 1,921 | 2/13/2024 | |
8.0.16 | 56,886 | 5/13/2025 | |
8.0.15 | 153,884 | 4/8/2025 | |
8.0.14 | 186,686 | 3/11/2025 | |
8.0.13 | 146,510 | 2/11/2025 | |
8.0.12 | 195,041 | 1/14/2025 | |
8.0.11 | 504,953 | 11/12/2024 | |
8.0.10 | 2,118,314 | 10/8/2024 | |
8.0.8 | 3,448,153 | 8/13/2024 | |
8.0.7 | 1,866,911 | 7/9/2024 | |
8.0.6 | 2,708,770 | 5/28/2024 | |
8.0.5 | 882,049 | 5/14/2024 | |
8.0.4 | 2,127,548 | 4/9/2024 | |
8.0.3 | 1,483,012 | 3/12/2024 | |
8.0.2 | 1,621,491 | 2/13/2024 | |
8.0.1 | 2,034,089 | 1/9/2024 | |
8.0.0 | 3,064,544 | 11/14/2023 | |
8.0.0-rc.2.23480.1 | 19,754 | 10/10/2023 | |
8.0.0-rc.1.23419.6 | 8,051 | 9/12/2023 | |
8.0.0-preview.7.23375.4 | 2,223 | 8/8/2023 | |
8.0.0-preview.6.23329.4 | 2,929 | 7/11/2023 | |
8.0.0-preview.5.23280.1 | 1,812 | 6/13/2023 | |
8.0.0-preview.4.23259.3 | 2,169 | 5/16/2023 | |
8.0.0-preview.3.23174.2 | 2,514 | 4/11/2023 | |
8.0.0-preview.2.23128.3 | 2,159 | 3/14/2023 | |
8.0.0-preview.1.23111.4 | 1,029 | 2/21/2023 | |
7.0.20 | 205,577 | 5/28/2024 | |
7.0.19 | 34,250 | 5/14/2024 | |
7.0.18 | 69,473 | 4/9/2024 | |
7.0.17 | 99,246 | 3/12/2024 | |
7.0.16 | 144,303 | 2/13/2024 | |
7.0.15 | 178,658 | 1/9/2024 | |
7.0.14 | 939,676 | 11/14/2023 | |
7.0.13 | 1,522,232 | 10/24/2023 | |
7.0.12 | 673,603 | 10/10/2023 | |
7.0.11 | 1,263,532 | 9/12/2023 | |
7.0.10 | 1,610,286 | 8/8/2023 | |
7.0.9 | 1,120,548 | 7/11/2023 | |
7.0.8 | 759,944 | 6/22/2023 | |
7.0.7 | 434,555 | 6/13/2023 | |
7.0.5 | 2,553,797 | 4/11/2023 | |
7.0.4 | 1,041,037 | 3/14/2023 | |
7.0.3 | 1,237,394 | 2/14/2023 | |
7.0.2 | 1,366,112 | 1/10/2023 | |
7.0.1 | 780,340 | 12/13/2022 | |
7.0.0 | 1,644,065 | 11/7/2022 | |
7.0.0-rc.2.22472.11 | 3,996 | 10/11/2022 | |
7.0.0-rc.1.22426.7 | 3,430 | 9/14/2022 | |
7.0.0-preview.7.22376.2 | 1,777 | 8/9/2022 | |
7.0.0-preview.6.22329.4 | 2,799 | 7/12/2022 | |
7.0.0-preview.5.22302.2 | 2,704 | 6/14/2022 | |
7.0.0-preview.4.22229.2 | 2,657 | 5/10/2022 | |
7.0.0-preview.3.22175.1 | 1,108 | 4/13/2022 | |
7.0.0-preview.2.22153.1 | 833 | 3/14/2022 | |
7.0.0-preview.1.22076.6 | 2,171 | 2/17/2022 | |
6.0.36 | 91,710 | 11/12/2024 | |
6.0.35 | 42,241 | 10/8/2024 | |
6.0.33 | 60,719 | 8/13/2024 | |
6.0.32 | 29,679 | 7/9/2024 | |
6.0.31 | 65,616 | 5/28/2024 | |
6.0.30 | 22,359 | 5/14/2024 | |
6.0.29 | 64,045 | 4/9/2024 | |
6.0.28 | 71,780 | 3/12/2024 | |
6.0.27 | 59,863 | 2/13/2024 | |
6.0.26 | 85,299 | 1/9/2024 | |
6.0.25 | 235,272 | 11/14/2023 | |
6.0.24 | 56,991 | 10/24/2023 | |
6.0.23 | 39,176 | 10/10/2023 | |
6.0.22 | 53,918 | 9/12/2023 | |
6.0.21 | 97,376 | 8/8/2023 | |
6.0.20 | 73,307 | 7/11/2023 | |
6.0.19 | 60,165 | 6/22/2023 | |
6.0.18 | 36,580 | 6/13/2023 | |
6.0.16 | 150,230 | 4/11/2023 | |
6.0.15 | 110,452 | 3/14/2023 | |
6.0.14 | 146,559 | 2/14/2023 | |
6.0.13 | 170,130 | 1/10/2023 | |
6.0.12 | 143,508 | 12/13/2022 | |
6.0.11 | 306,609 | 11/7/2022 | |
6.0.10 | 1,349,684 | 10/11/2022 | |
6.0.9 | 1,043,611 | 9/13/2022 | |
6.0.8 | 1,634,156 | 8/9/2022 | |
6.0.7 | 1,410,251 | 7/12/2022 | |
6.0.6 | 1,155,759 | 6/14/2022 | |
6.0.5 | 1,739,328 | 5/10/2022 | |
6.0.4 | 685,332 | 4/11/2022 | |
6.0.3 | 817,977 | 3/8/2022 | |
6.0.2 | 632,221 | 2/8/2022 | |
6.0.1 | 1,064,120 | 12/14/2021 | |
6.0.0 | 1,234,370 | 11/8/2021 | |
6.0.0-rc.2.21480.5 | 7,203 | 10/12/2021 | |
6.0.0-rc.1.21452.10 | 9,191 | 9/14/2021 | |
6.0.0-preview.7.21378.4 | 13,667 | 8/10/2021 | |
6.0.0-preview.6.21352.1 | 1,442 | 7/14/2021 | |
6.0.0-preview.5.21301.9 | 1,894 | 6/15/2021 | |
6.0.0-preview.4.21253.1 | 1,098 | 5/24/2021 | |
6.0.0-preview.3.21201.2 | 9,875 | 4/8/2021 | |
6.0.0-preview.2.21154.2 | 1,574 | 3/11/2021 | |
6.0.0-preview.1.21102.2 | 1,528 | 2/12/2021 | |
5.0.17 | 223,638 | 5/10/2022 | |
5.0.16 | 22,871 | 4/11/2022 | |
5.0.15 | 20,896 | 3/8/2022 | |
5.0.14 | 18,605 | 2/8/2022 | |
5.0.13 | 38,030 | 12/14/2021 | |
5.0.12 | 62,102 | 11/7/2021 | |
5.0.11 | 410,119 | 10/12/2021 | |
5.0.10 | 467,791 | 9/14/2021 | |
5.0.9 | 427,387 | 8/10/2021 | |
5.0.8 | 371,593 | 7/13/2021 | |
5.0.7 | 453,132 | 6/8/2021 | |
5.0.6 | 441,687 | 5/11/2021 | |
5.0.5 | 506,267 | 4/6/2021 | |
5.0.4 | 297,463 | 3/9/2021 | |
5.0.3 | 382,394 | 2/9/2021 | |
5.0.2 | 330,215 | 1/12/2021 | |
5.0.1 | 384,242 | 12/8/2020 | |
5.0.0 | 482,467 | 11/9/2020 | |
5.0.0-rc.2.20475.6 | 6,755 | 10/13/2020 | |
5.0.0-rc.1.20451.13 | 11,101 | 9/14/2020 | |
5.0.0-preview.8.20407.4 | 3,049 | 8/25/2020 | |
5.0.0-preview.7.20365.15 | 1,747 | 7/21/2020 | |
5.0.0-preview.6.20312.4 | 4,687 | 6/25/2020 | |
5.0.0-preview.5.20278.2 | 2,304 | 6/10/2020 | |
5.0.0-preview.4.20220.10 | 941 | 5/18/2020 | |
5.0.0-preview.3.20181.2 | 1,466 | 4/23/2020 | |
5.0.0-preview.2.20159.4 | 829 | 4/2/2020 | |
5.0.0-preview.2.20120.8 | 1,123 | 3/16/2020 | |
3.1.32 | 86,619 | 12/13/2022 | |
3.1.31 | 10,230 | 11/8/2022 | |
3.1.30 | 11,201 | 10/11/2022 | |
3.1.29 | 12,719 | 9/13/2022 | |
3.1.28 | 22,494 | 8/9/2022 | |
3.1.27 | 26,336 | 7/12/2022 | |
3.1.26 | 29,074 | 6/14/2022 | |
3.1.25 | 13,117 | 5/10/2022 | |
3.1.24 | 9,378 | 4/11/2022 | |
3.1.23 | 12,993 | 3/8/2022 | |
3.1.22 | 27,456 | 12/14/2021 | |
3.1.21 | 21,563 | 11/7/2021 | |
3.1.20 | 16,323 | 10/11/2021 | |
3.1.19 | 21,947 | 9/14/2021 | |
3.1.18 | 27,920 | 8/10/2021 | |
3.1.17 | 25,459 | 7/13/2021 | |
3.1.16 | 23,822 | 6/8/2021 | |
3.1.15 | 17,721 | 5/11/2021 | |
3.1.14 | 45,620 | 4/6/2021 | |
3.1.13 | 41,387 | 3/9/2021 | |
3.1.12 | 49,034 | 2/9/2021 | |
3.1.11 | 34,310 | 1/12/2021 | |
3.1.10 | 128,124 | 11/9/2020 | |
3.1.9 | 332,361 | 10/13/2020 | |
3.1.8 | 374,673 | 9/8/2020 | |
3.1.7 | 317,537 | 8/11/2020 | |
3.1.6 | 334,059 | 7/14/2020 | |
3.1.5 | 322,470 | 6/9/2020 | |
3.1.4 | 306,729 | 5/12/2020 | |
3.1.3 | 529,668 | 3/24/2020 | |
3.1.2 | 357,337 | 2/19/2020 | |
3.1.1 | 518,361 | 1/14/2020 | |
3.1.0 | 510,886 | 12/3/2019 | |
3.1.0-preview3.19554.8 | 3,904 | 11/13/2019 | |
3.1.0-preview2.19525.5 | 891 | 11/1/2019 | |
3.1.0-preview1.19506.2 | 2,186 | 10/15/2019 | |
3.0.3 | 12,166 | 2/19/2020 | |
3.0.2 | 9,292 | 1/14/2020 | |
3.0.1 | 25,586 | 11/18/2019 | |
3.0.0 | 553,424 | 9/23/2019 | |
3.0.0-rc1.19456.14 | 1,891 | 9/16/2019 | |
3.0.0-preview9.19423.6 | 3,311 | 9/4/2019 | |
3.0.0-preview8.19405.11 | 5,665 | 8/13/2019 | |
3.0.0-preview7.19362.6 | 6,989 | 7/23/2019 | |
3.0.0-preview6.19304.10 | 2,466 | 6/12/2019 | |
3.0.0-preview5.19227.1 | 2,648 | 5/6/2019 | |
3.0.0-preview4.19216.3 | 8,306 | 4/18/2019 | |
3.0.0-preview3.19153.1 | 1,423 | 3/6/2019 | |
3.0.0-preview.19074.3 | 2,160 | 1/29/2019 | |
3.0.0-preview.18572.1 | 2,892 | 12/3/2018 | |
2.2.6 | 78,341 | 7/9/2019 | |
2.2.3 | 8,905 | 3/11/2019 | |
2.2.2 | 9,626 | 2/12/2019 | |
2.2.1 | 9,490 | 1/8/2019 | |
2.2.0 | 39,603 | 12/3/2018 | |
2.2.0-preview3-35497 | 7,793 | 10/17/2018 | |
2.2.0-preview2-35157 | 7,871 | 9/12/2018 | |
2.2.0-preview1-35029 | 8,005 | 8/22/2018 | |
2.1.14 | 25,308 | 11/18/2019 | |
2.1.11 | 11,055 | 5/14/2019 | |
2.1.8 | 8,475 | 2/12/2019 | |
2.1.4 | 19,944 | 10/1/2018 | |
2.1.3 | 9,335 | 9/11/2018 | |
2.1.2 | 8,636 | 8/21/2018 | |
2.1.1 | 13,772 | 6/18/2018 | |
2.1.0 | 37,927 | 5/29/2018 |