dotnet-ef
10.0.0-preview.2.25163.8
Prefix Reserved
This is a prerelease version of dotnet-ef.
dotnet tool install --global dotnet-ef --version 10.0.0-preview.2.25163.8
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.2.25163.8
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-ef&version=10.0.0-preview.2.25163.8&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.2.25163.8
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. |
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.2.25163.8 | 488 | 3/18/2025 | |
10.0.0-preview.1.25081.1 | 683 | 2/25/2025 | |
9.0.3 | 1,396,618 | 3/11/2025 | |
9.0.2 | 1,553,639 | 2/11/2025 | |
9.0.1 | 1,410,009 | 1/14/2025 | |
9.0.0 | 2,635,745 | 11/12/2024 | |
9.0.0-rc.2.24474.1 | 5,203 | 10/8/2024 | |
9.0.0-rc.1.24451.1 | 2,753 | 9/10/2024 | |
9.0.0-preview.7.24405.3 | 1,660 | 8/13/2024 | |
9.0.0-preview.6.24327.4 | 1,947 | 7/9/2024 | |
9.0.0-preview.5.24306.3 | 1,763 | 6/11/2024 | |
9.0.0-preview.4.24267.1 | 1,251 | 5/21/2024 | |
9.0.0-preview.3.24172.4 | 1,797 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 1,504 | 3/12/2024 | |
9.0.0-preview.1.24081.2 | 1,834 | 2/13/2024 | |
8.0.14 | 104,962 | 3/11/2025 | |
8.0.13 | 120,841 | 2/11/2025 | |
8.0.12 | 172,354 | 1/14/2025 | |
8.0.11 | 434,217 | 11/12/2024 | |
8.0.10 | 2,020,208 | 10/8/2024 | |
8.0.8 | 3,361,389 | 8/13/2024 | |
8.0.7 | 1,816,125 | 7/9/2024 | |
8.0.6 | 2,615,210 | 5/28/2024 | |
8.0.5 | 851,016 | 5/14/2024 | |
8.0.4 | 2,048,892 | 4/9/2024 | |
8.0.3 | 1,451,794 | 3/12/2024 | |
8.0.2 | 1,565,865 | 2/13/2024 | |
8.0.1 | 1,980,971 | 1/9/2024 | |
8.0.0 | 2,968,422 | 11/14/2023 | |
8.0.0-rc.2.23480.1 | 19,710 | 10/10/2023 | |
8.0.0-rc.1.23419.6 | 7,892 | 9/12/2023 | |
8.0.0-preview.7.23375.4 | 2,193 | 8/8/2023 | |
8.0.0-preview.6.23329.4 | 2,907 | 7/11/2023 | |
8.0.0-preview.5.23280.1 | 1,789 | 6/13/2023 | |
8.0.0-preview.4.23259.3 | 2,154 | 5/16/2023 | |
8.0.0-preview.3.23174.2 | 2,496 | 4/11/2023 | |
8.0.0-preview.2.23128.3 | 2,023 | 3/14/2023 | |
8.0.0-preview.1.23111.4 | 1,004 | 2/21/2023 | |
7.0.20 | 184,765 | 5/28/2024 | |
7.0.19 | 32,568 | 5/14/2024 | |
7.0.18 | 66,874 | 4/9/2024 | |
7.0.17 | 96,450 | 3/12/2024 | |
7.0.16 | 140,544 | 2/13/2024 | |
7.0.15 | 174,897 | 1/9/2024 | |
7.0.14 | 905,872 | 11/14/2023 | |
7.0.13 | 1,474,066 | 10/24/2023 | |
7.0.12 | 669,532 | 10/10/2023 | |
7.0.11 | 1,252,841 | 9/12/2023 | |
7.0.10 | 1,593,044 | 8/8/2023 | |
7.0.9 | 1,116,304 | 7/11/2023 | |
7.0.8 | 753,990 | 6/22/2023 | |
7.0.7 | 432,036 | 6/13/2023 | |
7.0.5 | 2,535,442 | 4/11/2023 | |
7.0.4 | 1,036,590 | 3/14/2023 | |
7.0.3 | 1,228,009 | 2/14/2023 | |
7.0.2 | 1,357,583 | 1/10/2023 | |
7.0.1 | 775,993 | 12/13/2022 | |
7.0.0 | 1,618,858 | 11/7/2022 | |
7.0.0-rc.2.22472.11 | 3,977 | 10/11/2022 | |
7.0.0-rc.1.22426.7 | 3,398 | 9/14/2022 | |
7.0.0-preview.7.22376.2 | 1,755 | 8/9/2022 | |
7.0.0-preview.6.22329.4 | 2,778 | 7/12/2022 | |
7.0.0-preview.5.22302.2 | 2,660 | 6/14/2022 | |
7.0.0-preview.4.22229.2 | 2,639 | 5/10/2022 | |
7.0.0-preview.3.22175.1 | 1,083 | 4/13/2022 | |
7.0.0-preview.2.22153.1 | 808 | 3/14/2022 | |
7.0.0-preview.1.22076.6 | 2,145 | 2/17/2022 | |
6.0.36 | 71,967 | 11/12/2024 | |
6.0.35 | 40,153 | 10/8/2024 | |
6.0.33 | 58,434 | 8/13/2024 | |
6.0.32 | 27,779 | 7/9/2024 | |
6.0.31 | 59,483 | 5/28/2024 | |
6.0.30 | 20,703 | 5/14/2024 | |
6.0.29 | 60,600 | 4/9/2024 | |
6.0.28 | 67,994 | 3/12/2024 | |
6.0.27 | 57,523 | 2/13/2024 | |
6.0.26 | 83,249 | 1/9/2024 | |
6.0.25 | 229,095 | 11/14/2023 | |
6.0.24 | 55,527 | 10/24/2023 | |
6.0.23 | 38,280 | 10/10/2023 | |
6.0.22 | 51,859 | 9/12/2023 | |
6.0.21 | 91,481 | 8/8/2023 | |
6.0.20 | 70,659 | 7/11/2023 | |
6.0.19 | 58,301 | 6/22/2023 | |
6.0.18 | 35,443 | 6/13/2023 | |
6.0.16 | 147,843 | 4/11/2023 | |
6.0.15 | 107,666 | 3/14/2023 | |
6.0.14 | 143,396 | 2/14/2023 | |
6.0.13 | 166,009 | 1/10/2023 | |
6.0.12 | 138,969 | 12/13/2022 | |
6.0.11 | 297,940 | 11/7/2022 | |
6.0.10 | 1,339,252 | 10/11/2022 | |
6.0.9 | 1,038,145 | 9/13/2022 | |
6.0.8 | 1,625,874 | 8/9/2022 | |
6.0.7 | 1,396,730 | 7/12/2022 | |
6.0.6 | 1,143,823 | 6/14/2022 | |
6.0.5 | 1,713,184 | 5/10/2022 | |
6.0.4 | 681,521 | 4/11/2022 | |
6.0.3 | 811,632 | 3/8/2022 | |
6.0.2 | 619,700 | 2/8/2022 | |
6.0.1 | 1,054,274 | 12/14/2021 | |
6.0.0 | 1,194,759 | 11/8/2021 | |
6.0.0-rc.2.21480.5 | 7,177 | 10/12/2021 | |
6.0.0-rc.1.21452.10 | 9,152 | 9/14/2021 | |
6.0.0-preview.7.21378.4 | 13,355 | 8/10/2021 | |
6.0.0-preview.6.21352.1 | 1,417 | 7/14/2021 | |
6.0.0-preview.5.21301.9 | 1,868 | 6/15/2021 | |
6.0.0-preview.4.21253.1 | 1,070 | 5/24/2021 | |
6.0.0-preview.3.21201.2 | 9,144 | 4/8/2021 | |
6.0.0-preview.2.21154.2 | 1,544 | 3/11/2021 | |
6.0.0-preview.1.21102.2 | 1,499 | 2/12/2021 | |
5.0.17 | 217,552 | 5/10/2022 | |
5.0.16 | 22,481 | 4/11/2022 | |
5.0.15 | 20,582 | 3/8/2022 | |
5.0.14 | 18,206 | 2/8/2022 | |
5.0.13 | 37,744 | 12/14/2021 | |
5.0.12 | 61,251 | 11/7/2021 | |
5.0.11 | 408,450 | 10/12/2021 | |
5.0.10 | 458,457 | 9/14/2021 | |
5.0.9 | 425,529 | 8/10/2021 | |
5.0.8 | 369,578 | 7/13/2021 | |
5.0.7 | 450,280 | 6/8/2021 | |
5.0.6 | 439,001 | 5/11/2021 | |
5.0.5 | 502,823 | 4/6/2021 | |
5.0.4 | 296,392 | 3/9/2021 | |
5.0.3 | 379,613 | 2/9/2021 | |
5.0.2 | 328,501 | 1/12/2021 | |
5.0.1 | 378,235 | 12/8/2020 | |
5.0.0 | 478,136 | 11/9/2020 | |
5.0.0-rc.2.20475.6 | 6,725 | 10/13/2020 | |
5.0.0-rc.1.20451.13 | 11,001 | 9/14/2020 | |
5.0.0-preview.8.20407.4 | 3,009 | 8/25/2020 | |
5.0.0-preview.7.20365.15 | 1,716 | 7/21/2020 | |
5.0.0-preview.6.20312.4 | 4,656 | 6/25/2020 | |
5.0.0-preview.5.20278.2 | 2,275 | 6/10/2020 | |
5.0.0-preview.4.20220.10 | 912 | 5/18/2020 | |
5.0.0-preview.3.20181.2 | 1,436 | 4/23/2020 | |
5.0.0-preview.2.20159.4 | 799 | 4/2/2020 | |
5.0.0-preview.2.20120.8 | 1,093 | 3/16/2020 | |
3.1.32 | 81,836 | 12/13/2022 | |
3.1.31 | 10,120 | 11/8/2022 | |
3.1.30 | 11,104 | 10/11/2022 | |
3.1.29 | 12,624 | 9/13/2022 | |
3.1.28 | 22,362 | 8/9/2022 | |
3.1.27 | 25,535 | 7/12/2022 | |
3.1.26 | 28,799 | 6/14/2022 | |
3.1.25 | 13,020 | 5/10/2022 | |
3.1.24 | 9,134 | 4/11/2022 | |
3.1.23 | 12,767 | 3/8/2022 | |
3.1.22 | 27,319 | 12/14/2021 | |
3.1.21 | 21,391 | 11/7/2021 | |
3.1.20 | 16,219 | 10/11/2021 | |
3.1.19 | 21,790 | 9/14/2021 | |
3.1.18 | 27,623 | 8/10/2021 | |
3.1.17 | 25,355 | 7/13/2021 | |
3.1.16 | 23,679 | 6/8/2021 | |
3.1.15 | 17,613 | 5/11/2021 | |
3.1.14 | 45,265 | 4/6/2021 | |
3.1.13 | 40,919 | 3/9/2021 | |
3.1.12 | 48,684 | 2/9/2021 | |
3.1.11 | 34,183 | 1/12/2021 | |
3.1.10 | 127,125 | 11/9/2020 | |
3.1.9 | 328,568 | 10/13/2020 | |
3.1.8 | 373,036 | 9/8/2020 | |
3.1.7 | 314,973 | 8/11/2020 | |
3.1.6 | 332,576 | 7/14/2020 | |
3.1.5 | 320,657 | 6/9/2020 | |
3.1.4 | 304,164 | 5/12/2020 | |
3.1.3 | 527,828 | 3/24/2020 | |
3.1.2 | 354,382 | 2/19/2020 | |
3.1.1 | 515,904 | 1/14/2020 | |
3.1.0 | 508,081 | 12/3/2019 | |
3.1.0-preview3.19554.8 | 3,874 | 11/13/2019 | |
3.1.0-preview2.19525.5 | 859 | 11/1/2019 | |
3.1.0-preview1.19506.2 | 2,155 | 10/15/2019 | |
3.0.3 | 12,118 | 2/19/2020 | |
3.0.2 | 9,251 | 1/14/2020 | |
3.0.1 | 25,248 | 11/18/2019 | |
3.0.0 | 550,460 | 9/23/2019 | |
3.0.0-rc1.19456.14 | 1,861 | 9/16/2019 | |
3.0.0-preview9.19423.6 | 3,279 | 9/4/2019 | |
3.0.0-preview8.19405.11 | 5,632 | 8/13/2019 | |
3.0.0-preview7.19362.6 | 6,955 | 7/23/2019 | |
3.0.0-preview6.19304.10 | 2,433 | 6/12/2019 | |
3.0.0-preview5.19227.1 | 2,616 | 5/6/2019 | |
3.0.0-preview4.19216.3 | 8,273 | 4/18/2019 | |
3.0.0-preview3.19153.1 | 1,391 | 3/6/2019 | |
3.0.0-preview.19074.3 | 2,127 | 1/29/2019 | |
3.0.0-preview.18572.1 | 2,860 | 12/3/2018 | |
2.2.6 | 78,088 | 7/9/2019 | |
2.2.3 | 8,817 | 3/11/2019 | |
2.2.2 | 9,497 | 2/12/2019 | |
2.2.1 | 9,425 | 1/8/2019 | |
2.2.0 | 38,740 | 12/3/2018 | |
2.2.0-preview3-35497 | 7,761 | 10/17/2018 | |
2.2.0-preview2-35157 | 7,819 | 9/12/2018 | |
2.2.0-preview1-35029 | 7,949 | 8/22/2018 | |
2.1.14 | 24,849 | 11/18/2019 | |
2.1.11 | 11,008 | 5/14/2019 | |
2.1.8 | 8,407 | 2/12/2019 | |
2.1.4 | 19,851 | 10/1/2018 | |
2.1.3 | 9,272 | 9/11/2018 | |
2.1.2 | 8,570 | 8/21/2018 | |
2.1.1 | 13,633 | 6/18/2018 | |
2.1.0 | 37,781 | 5/29/2018 |