dotnet-ef
8.0.10
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global dotnet-ef --version 8.0.10
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 8.0.10
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-ef&version=8.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-ef --version 8.0.10
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 | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.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 | |
---|---|---|---|
9.0.0 | 1,217,835 | 11/12/2024 | |
9.0.0-rc.2.24474.1 | 4,552 | 10/8/2024 | |
9.0.0-rc.1.24451.1 | 2,488 | 9/10/2024 | |
9.0.0-preview.7.24405.3 | 1,529 | 8/13/2024 | |
9.0.0-preview.6.24327.4 | 1,352 | 7/9/2024 | |
9.0.0-preview.5.24306.3 | 1,574 | 6/11/2024 | |
9.0.0-preview.4.24267.1 | 1,106 | 5/21/2024 | |
9.0.0-preview.3.24172.4 | 1,685 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 1,333 | 3/12/2024 | |
9.0.0-preview.1.24081.2 | 1,652 | 2/13/2024 | |
8.0.11 | 175,280 | 11/12/2024 | |
8.0.10 | 1,761,052 | 10/8/2024 | |
8.0.8 | 3,163,345 | 8/13/2024 | |
8.0.7 | 1,699,385 | 7/9/2024 | |
8.0.6 | 2,416,952 | 5/28/2024 | |
8.0.5 | 773,199 | 5/14/2024 | |
8.0.4 | 1,903,365 | 4/9/2024 | |
8.0.3 | 1,370,927 | 3/12/2024 | |
8.0.2 | 1,453,507 | 2/13/2024 | |
8.0.1 | 1,859,941 | 1/9/2024 | |
8.0.0 | 2,748,247 | 11/14/2023 | |
8.0.0-rc.2.23480.1 | 19,397 | 10/10/2023 | |
8.0.0-rc.1.23419.6 | 7,317 | 9/12/2023 | |
8.0.0-preview.7.23375.4 | 2,126 | 8/8/2023 | |
8.0.0-preview.6.23329.4 | 2,845 | 7/11/2023 | |
8.0.0-preview.5.23280.1 | 1,754 | 6/13/2023 | |
8.0.0-preview.4.23259.3 | 2,111 | 5/16/2023 | |
8.0.0-preview.3.23174.2 | 2,456 | 4/11/2023 | |
8.0.0-preview.2.23128.3 | 1,892 | 3/14/2023 | |
8.0.0-preview.1.23111.4 | 969 | 2/21/2023 | |
7.0.20 | 132,844 | 5/28/2024 | |
7.0.19 | 30,813 | 5/14/2024 | |
7.0.18 | 61,839 | 4/9/2024 | |
7.0.17 | 90,704 | 3/12/2024 | |
7.0.16 | 129,848 | 2/13/2024 | |
7.0.15 | 163,833 | 1/9/2024 | |
7.0.14 | 827,648 | 11/14/2023 | |
7.0.13 | 1,386,404 | 10/24/2023 | |
7.0.12 | 660,164 | 10/10/2023 | |
7.0.11 | 1,230,351 | 9/12/2023 | |
7.0.10 | 1,557,474 | 8/8/2023 | |
7.0.9 | 1,105,752 | 7/11/2023 | |
7.0.8 | 739,048 | 6/22/2023 | |
7.0.7 | 425,824 | 6/13/2023 | |
7.0.5 | 2,493,646 | 4/11/2023 | |
7.0.4 | 1,024,921 | 3/14/2023 | |
7.0.3 | 1,206,040 | 2/14/2023 | |
7.0.2 | 1,331,581 | 1/10/2023 | |
7.0.1 | 766,549 | 12/13/2022 | |
7.0.0 | 1,559,636 | 11/7/2022 | |
7.0.0-rc.2.22472.11 | 3,926 | 10/11/2022 | |
7.0.0-rc.1.22426.7 | 3,346 | 9/14/2022 | |
7.0.0-preview.7.22376.2 | 1,718 | 8/9/2022 | |
7.0.0-preview.6.22329.4 | 2,739 | 7/12/2022 | |
7.0.0-preview.5.22302.2 | 2,542 | 6/14/2022 | |
7.0.0-preview.4.22229.2 | 2,601 | 5/10/2022 | |
7.0.0-preview.3.22175.1 | 1,047 | 4/13/2022 | |
7.0.0-preview.2.22153.1 | 769 | 3/14/2022 | |
7.0.0-preview.1.22076.6 | 2,108 | 2/17/2022 | |
6.0.36 | 14,707 | 11/12/2024 | |
6.0.35 | 28,694 | 10/8/2024 | |
6.0.33 | 52,463 | 8/13/2024 | |
6.0.32 | 24,900 | 7/9/2024 | |
6.0.31 | 44,716 | 5/28/2024 | |
6.0.30 | 17,578 | 5/14/2024 | |
6.0.29 | 53,301 | 4/9/2024 | |
6.0.28 | 60,261 | 3/12/2024 | |
6.0.27 | 54,179 | 2/13/2024 | |
6.0.26 | 78,503 | 1/9/2024 | |
6.0.25 | 212,074 | 11/14/2023 | |
6.0.24 | 51,445 | 10/24/2023 | |
6.0.23 | 35,516 | 10/10/2023 | |
6.0.22 | 48,156 | 9/12/2023 | |
6.0.21 | 79,795 | 8/8/2023 | |
6.0.20 | 63,765 | 7/11/2023 | |
6.0.19 | 54,136 | 6/22/2023 | |
6.0.18 | 33,357 | 6/13/2023 | |
6.0.16 | 142,021 | 4/11/2023 | |
6.0.15 | 100,840 | 3/14/2023 | |
6.0.14 | 135,997 | 2/14/2023 | |
6.0.13 | 155,263 | 1/10/2023 | |
6.0.12 | 129,304 | 12/13/2022 | |
6.0.11 | 281,345 | 11/7/2022 | |
6.0.10 | 1,270,225 | 10/11/2022 | |
6.0.9 | 1,025,204 | 9/13/2022 | |
6.0.8 | 1,605,939 | 8/9/2022 | |
6.0.7 | 1,356,555 | 7/12/2022 | |
6.0.6 | 1,107,809 | 6/14/2022 | |
6.0.5 | 1,651,607 | 5/10/2022 | |
6.0.4 | 672,278 | 4/11/2022 | |
6.0.3 | 797,043 | 3/8/2022 | |
6.0.2 | 598,069 | 2/8/2022 | |
6.0.1 | 1,034,266 | 12/14/2021 | |
6.0.0 | 1,116,993 | 11/8/2021 | |
6.0.0-rc.2.21480.5 | 7,139 | 10/12/2021 | |
6.0.0-rc.1.21452.10 | 9,095 | 9/14/2021 | |
6.0.0-preview.7.21378.4 | 12,597 | 8/10/2021 | |
6.0.0-preview.6.21352.1 | 1,383 | 7/14/2021 | |
6.0.0-preview.5.21301.9 | 1,828 | 6/15/2021 | |
6.0.0-preview.4.21253.1 | 1,036 | 5/24/2021 | |
6.0.0-preview.3.21201.2 | 8,457 | 4/8/2021 | |
6.0.0-preview.2.21154.2 | 1,506 | 3/11/2021 | |
6.0.0-preview.1.21102.2 | 1,458 | 2/12/2021 | |
5.0.17 | 203,003 | 5/10/2022 | |
5.0.16 | 21,946 | 4/11/2022 | |
5.0.15 | 20,188 | 3/8/2022 | |
5.0.14 | 17,585 | 2/8/2022 | |
5.0.13 | 37,161 | 12/14/2021 | |
5.0.12 | 59,130 | 11/7/2021 | |
5.0.11 | 404,367 | 10/12/2021 | |
5.0.10 | 443,644 | 9/14/2021 | |
5.0.9 | 422,153 | 8/10/2021 | |
5.0.8 | 364,326 | 7/13/2021 | |
5.0.7 | 436,913 | 6/8/2021 | |
5.0.6 | 431,735 | 5/11/2021 | |
5.0.5 | 494,292 | 4/6/2021 | |
5.0.4 | 293,657 | 3/9/2021 | |
5.0.3 | 374,031 | 2/9/2021 | |
5.0.2 | 325,197 | 1/12/2021 | |
5.0.1 | 364,869 | 12/8/2020 | |
5.0.0 | 469,498 | 11/9/2020 | |
5.0.0-rc.2.20475.6 | 6,681 | 10/13/2020 | |
5.0.0-rc.1.20451.13 | 10,867 | 9/14/2020 | |
5.0.0-preview.8.20407.4 | 2,967 | 8/25/2020 | |
5.0.0-preview.7.20365.15 | 1,678 | 7/21/2020 | |
5.0.0-preview.6.20312.4 | 4,613 | 6/25/2020 | |
5.0.0-preview.5.20278.2 | 2,236 | 6/10/2020 | |
5.0.0-preview.4.20220.10 | 866 | 5/18/2020 | |
5.0.0-preview.3.20181.2 | 1,395 | 4/23/2020 | |
5.0.0-preview.2.20159.4 | 759 | 4/2/2020 | |
5.0.0-preview.2.20120.8 | 1,053 | 3/16/2020 | |
3.1.32 | 70,015 | 12/13/2022 | |
3.1.31 | 9,880 | 11/8/2022 | |
3.1.30 | 10,924 | 10/11/2022 | |
3.1.29 | 12,312 | 9/13/2022 | |
3.1.28 | 22,098 | 8/9/2022 | |
3.1.27 | 23,784 | 7/12/2022 | |
3.1.26 | 28,348 | 6/14/2022 | |
3.1.25 | 12,819 | 5/10/2022 | |
3.1.24 | 8,847 | 4/11/2022 | |
3.1.23 | 12,210 | 3/8/2022 | |
3.1.22 | 26,811 | 12/14/2021 | |
3.1.21 | 20,944 | 11/7/2021 | |
3.1.20 | 15,948 | 10/11/2021 | |
3.1.19 | 21,547 | 9/14/2021 | |
3.1.18 | 27,023 | 8/10/2021 | |
3.1.17 | 25,165 | 7/13/2021 | |
3.1.16 | 23,462 | 6/8/2021 | |
3.1.15 | 17,415 | 5/11/2021 | |
3.1.14 | 44,206 | 4/6/2021 | |
3.1.13 | 39,687 | 3/9/2021 | |
3.1.12 | 47,610 | 2/9/2021 | |
3.1.11 | 33,985 | 1/12/2021 | |
3.1.10 | 124,410 | 11/9/2020 | |
3.1.9 | 325,514 | 10/13/2020 | |
3.1.8 | 369,777 | 9/8/2020 | |
3.1.7 | 310,585 | 8/11/2020 | |
3.1.6 | 328,996 | 7/14/2020 | |
3.1.5 | 316,709 | 6/9/2020 | |
3.1.4 | 298,710 | 5/12/2020 | |
3.1.3 | 523,880 | 3/24/2020 | |
3.1.2 | 348,761 | 2/19/2020 | |
3.1.1 | 509,148 | 1/14/2020 | |
3.1.0 | 500,854 | 12/3/2019 | |
3.1.0-preview3.19554.8 | 3,833 | 11/13/2019 | |
3.1.0-preview2.19525.5 | 814 | 11/1/2019 | |
3.1.0-preview1.19506.2 | 2,108 | 10/15/2019 | |
3.0.3 | 11,988 | 2/19/2020 | |
3.0.2 | 9,190 | 1/14/2020 | |
3.0.1 | 24,645 | 11/18/2019 | |
3.0.0 | 542,010 | 9/23/2019 | |
3.0.0-rc1.19456.14 | 1,820 | 9/16/2019 | |
3.0.0-preview9.19423.6 | 3,236 | 9/4/2019 | |
3.0.0-preview8.19405.11 | 5,590 | 8/13/2019 | |
3.0.0-preview7.19362.6 | 6,902 | 7/23/2019 | |
3.0.0-preview6.19304.10 | 2,387 | 6/12/2019 | |
3.0.0-preview5.19227.1 | 2,576 | 5/6/2019 | |
3.0.0-preview4.19216.3 | 8,224 | 4/18/2019 | |
3.0.0-preview3.19153.1 | 1,349 | 3/6/2019 | |
3.0.0-preview.19074.3 | 2,085 | 1/29/2019 | |
3.0.0-preview.18572.1 | 2,812 | 12/3/2018 | |
2.2.6 | 77,260 | 7/9/2019 | |
2.2.3 | 8,744 | 3/11/2019 | |
2.2.2 | 9,406 | 2/12/2019 | |
2.2.1 | 9,344 | 1/8/2019 | |
2.2.0 | 37,286 | 12/3/2018 | |
2.2.0-preview3-35497 | 7,705 | 10/17/2018 | |
2.2.0-preview2-35157 | 7,745 | 9/12/2018 | |
2.2.0-preview1-35029 | 7,876 | 8/22/2018 | |
2.1.14 | 23,796 | 11/18/2019 | |
2.1.11 | 10,935 | 5/14/2019 | |
2.1.8 | 8,314 | 2/12/2019 | |
2.1.4 | 19,700 | 10/1/2018 | |
2.1.3 | 9,151 | 9/11/2018 | |
2.1.2 | 8,472 | 8/21/2018 | |
2.1.1 | 13,342 | 6/18/2018 | |
2.1.0 | 37,444 | 5/29/2018 |