dotnet-ef
10.0.0-preview.4.25258.110
Prefix Reserved
This is a prerelease version of dotnet-ef.
There is a newer prerelease 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 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-rc.1.25451.107 | 1,136 | 9/9/2025 | |
10.0.0-preview.7.25380.108 | 2,778 | 8/12/2025 | |
10.0.0-preview.6.25358.103 | 1,058 | 7/15/2025 | |
10.0.0-preview.5.25277.114 | 1,288 | 6/6/2025 | |
10.0.0-preview.4.25258.110 | 927 | 5/12/2025 | |
10.0.0-preview.3.25171.6 | 1,121 | 4/10/2025 | |
10.0.0-preview.2.25163.8 | 844 | 3/18/2025 | |
10.0.0-preview.1.25081.1 | 902 | 2/25/2025 | |
9.0.9 | 928,344 | 9/9/2025 | |
9.0.8 | 2,082,823 | 8/5/2025 | |
9.0.7 | 1,281,771 | 7/8/2025 | |
9.0.6 | 1,507,588 | 6/10/2025 | |
9.0.5 | 1,593,589 | 5/13/2025 | |
9.0.4 | 2,152,804 | 4/8/2025 | |
9.0.3 | 1,767,266 | 3/11/2025 | |
9.0.2 | 1,721,085 | 2/11/2025 | |
9.0.1 | 1,531,418 | 1/14/2025 | |
9.0.0 | 2,937,930 | 11/12/2024 | |
9.0.0-rc.2.24474.1 | 5,838 | 10/8/2024 | |
9.0.0-rc.1.24451.1 | 2,926 | 9/10/2024 | |
9.0.0-preview.7.24405.3 | 1,836 | 8/13/2024 | |
9.0.0-preview.6.24327.4 | 2,171 | 7/9/2024 | |
9.0.0-preview.5.24306.3 | 1,917 | 6/11/2024 | |
9.0.0-preview.4.24267.1 | 1,442 | 5/21/2024 | |
9.0.0-preview.3.24172.4 | 2,028 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 1,731 | 3/12/2024 | |
9.0.0-preview.1.24081.2 | 2,031 | 2/13/2024 | |
8.0.20 | 58,672 | 9/9/2025 | |
8.0.19 | 121,786 | 8/5/2025 | |
8.0.18 | 79,437 | 7/8/2025 | |
8.0.17 | 169,442 | 6/10/2025 | |
8.0.16 | 131,149 | 5/13/2025 | |
8.0.15 | 220,600 | 4/8/2025 | |
8.0.14 | 265,622 | 3/11/2025 | |
8.0.13 | 188,717 | 2/11/2025 | |
8.0.12 | 227,173 | 1/14/2025 | |
8.0.11 | 623,114 | 11/12/2024 | |
8.0.10 | 2,258,265 | 10/8/2024 | |
8.0.8 | 3,625,014 | 8/13/2024 | |
8.0.7 | 1,963,337 | 7/9/2024 | |
8.0.6 | 2,874,595 | 5/28/2024 | |
8.0.5 | 941,146 | 5/14/2024 | |
8.0.4 | 2,251,812 | 4/9/2024 | |
8.0.3 | 1,544,596 | 3/12/2024 | |
8.0.2 | 1,716,935 | 2/13/2024 | |
8.0.1 | 2,134,681 | 1/9/2024 | |
8.0.0 | 3,258,537 | 11/14/2023 | |
8.0.0-rc.2.23480.1 | 20,191 | 10/10/2023 | |
8.0.0-rc.1.23419.6 | 8,229 | 9/12/2023 | |
8.0.0-preview.7.23375.4 | 2,297 | 8/8/2023 | |
8.0.0-preview.6.23329.4 | 3,008 | 7/11/2023 | |
8.0.0-preview.5.23280.1 | 1,903 | 6/13/2023 | |
8.0.0-preview.4.23259.3 | 2,251 | 5/16/2023 | |
8.0.0-preview.3.23174.2 | 2,612 | 4/11/2023 | |
8.0.0-preview.2.23128.3 | 2,309 | 3/14/2023 | |
8.0.0-preview.1.23111.4 | 1,108 | 2/21/2023 | |
7.0.20 | 244,893 | 5/28/2024 | |
7.0.19 | 35,760 | 5/14/2024 | |
7.0.18 | 73,140 | 4/9/2024 | |
7.0.17 | 104,310 | 3/12/2024 | |
7.0.16 | 150,325 | 2/13/2024 | |
7.0.15 | 184,246 | 1/9/2024 | |
7.0.14 | 998,021 | 11/14/2023 | |
7.0.13 | 1,613,346 | 10/24/2023 | |
7.0.12 | 680,178 | 10/10/2023 | |
7.0.11 | 1,278,384 | 9/12/2023 | |
7.0.10 | 1,635,074 | 8/8/2023 | |
7.0.9 | 1,129,438 | 7/11/2023 | |
7.0.8 | 769,467 | 6/22/2023 | |
7.0.7 | 438,414 | 6/13/2023 | |
7.0.5 | 2,586,969 | 4/11/2023 | |
7.0.4 | 1,048,185 | 3/14/2023 | |
7.0.3 | 1,253,992 | 2/14/2023 | |
7.0.2 | 1,379,965 | 1/10/2023 | |
7.0.1 | 787,089 | 12/13/2022 | |
7.0.0 | 1,686,100 | 11/7/2022 | |
7.0.0-rc.2.22472.11 | 4,092 | 10/11/2022 | |
7.0.0-rc.1.22426.7 | 3,538 | 9/14/2022 | |
7.0.0-preview.7.22376.2 | 1,845 | 8/9/2022 | |
7.0.0-preview.6.22329.4 | 2,873 | 7/12/2022 | |
7.0.0-preview.5.22302.2 | 2,802 | 6/14/2022 | |
7.0.0-preview.4.22229.2 | 2,740 | 5/10/2022 | |
7.0.0-preview.3.22175.1 | 1,192 | 4/13/2022 | |
7.0.0-preview.2.22153.1 | 909 | 3/14/2022 | |
7.0.0-preview.1.22076.6 | 2,254 | 2/17/2022 | |
6.0.36 | 125,470 | 11/12/2024 | |
6.0.35 | 43,974 | 10/8/2024 | |
6.0.33 | 64,341 | 8/13/2024 | |
6.0.32 | 32,193 | 7/9/2024 | |
6.0.31 | 69,852 | 5/28/2024 | |
6.0.30 | 23,666 | 5/14/2024 | |
6.0.29 | 69,873 | 4/9/2024 | |
6.0.28 | 79,126 | 3/12/2024 | |
6.0.27 | 62,508 | 2/13/2024 | |
6.0.26 | 87,565 | 1/9/2024 | |
6.0.25 | 245,710 | 11/14/2023 | |
6.0.24 | 58,747 | 10/24/2023 | |
6.0.23 | 40,344 | 10/10/2023 | |
6.0.22 | 56,831 | 9/12/2023 | |
6.0.21 | 108,272 | 8/8/2023 | |
6.0.20 | 77,967 | 7/11/2023 | |
6.0.19 | 63,571 | 6/22/2023 | |
6.0.18 | 37,825 | 6/13/2023 | |
6.0.16 | 153,417 | 4/11/2023 | |
6.0.15 | 115,169 | 3/14/2023 | |
6.0.14 | 150,165 | 2/14/2023 | |
6.0.13 | 177,365 | 1/10/2023 | |
6.0.12 | 150,012 | 12/13/2022 | |
6.0.11 | 320,374 | 11/7/2022 | |
6.0.10 | 1,358,320 | 10/11/2022 | |
6.0.9 | 1,050,789 | 9/13/2022 | |
6.0.8 | 1,651,903 | 8/9/2022 | |
6.0.7 | 1,428,670 | 7/12/2022 | |
6.0.6 | 1,180,700 | 6/14/2022 | |
6.0.5 | 1,786,895 | 5/10/2022 | |
6.0.4 | 692,168 | 4/11/2022 | |
6.0.3 | 826,906 | 3/8/2022 | |
6.0.2 | 655,821 | 2/8/2022 | |
6.0.1 | 1,080,454 | 12/14/2021 | |
6.0.0 | 1,302,399 | 11/8/2021 | |
6.0.0-rc.2.21480.5 | 7,295 | 10/12/2021 | |
6.0.0-rc.1.21452.10 | 9,291 | 9/14/2021 | |
6.0.0-preview.7.21378.4 | 14,399 | 8/10/2021 | |
6.0.0-preview.6.21352.1 | 1,526 | 7/14/2021 | |
6.0.0-preview.5.21301.9 | 1,982 | 6/15/2021 | |
6.0.0-preview.4.21253.1 | 1,176 | 5/24/2021 | |
6.0.0-preview.3.21201.2 | 11,055 | 4/8/2021 | |
6.0.0-preview.2.21154.2 | 1,662 | 3/11/2021 | |
6.0.0-preview.1.21102.2 | 1,620 | 2/12/2021 | |
5.0.17 | 234,259 | 5/10/2022 | |
5.0.16 | 23,564 | 4/11/2022 | |
5.0.15 | 21,446 | 3/8/2022 | |
5.0.14 | 19,206 | 2/8/2022 | |
5.0.13 | 38,596 | 12/14/2021 | |
5.0.12 | 63,488 | 11/7/2021 | |
5.0.11 | 412,834 | 10/12/2021 | |
5.0.10 | 486,071 | 9/14/2021 | |
5.0.9 | 430,806 | 8/10/2021 | |
5.0.8 | 375,237 | 7/13/2021 | |
5.0.7 | 457,337 | 6/8/2021 | |
5.0.6 | 447,136 | 5/11/2021 | |
5.0.5 | 512,069 | 4/6/2021 | |
5.0.4 | 299,324 | 3/9/2021 | |
5.0.3 | 387,424 | 2/9/2021 | |
5.0.2 | 333,215 | 1/12/2021 | |
5.0.1 | 390,218 | 12/8/2020 | |
5.0.0 | 488,196 | 11/9/2020 | |
5.0.0-rc.2.20475.6 | 6,841 | 10/13/2020 | |
5.0.0-rc.1.20451.13 | 11,230 | 9/14/2020 | |
5.0.0-preview.8.20407.4 | 3,147 | 8/25/2020 | |
5.0.0-preview.7.20365.15 | 1,850 | 7/21/2020 | |
5.0.0-preview.6.20312.4 | 4,786 | 6/25/2020 | |
5.0.0-preview.5.20278.2 | 2,396 | 6/10/2020 | |
5.0.0-preview.4.20220.10 | 1,039 | 5/18/2020 | |
5.0.0-preview.3.20181.2 | 1,572 | 4/23/2020 | |
5.0.0-preview.2.20159.4 | 923 | 4/2/2020 | |
5.0.0-preview.2.20120.8 | 1,219 | 3/16/2020 | |
3.1.32 | 95,866 | 12/13/2022 | |
3.1.31 | 10,525 | 11/8/2022 | |
3.1.30 | 11,493 | 10/11/2022 | |
3.1.29 | 13,043 | 9/13/2022 | |
3.1.28 | 22,881 | 8/9/2022 | |
3.1.27 | 27,156 | 7/12/2022 | |
3.1.26 | 29,677 | 6/14/2022 | |
3.1.25 | 13,423 | 5/10/2022 | |
3.1.24 | 9,726 | 4/11/2022 | |
3.1.23 | 13,493 | 3/8/2022 | |
3.1.22 | 28,066 | 12/14/2021 | |
3.1.21 | 21,967 | 11/7/2021 | |
3.1.20 | 16,622 | 10/11/2021 | |
3.1.19 | 22,288 | 9/14/2021 | |
3.1.18 | 28,545 | 8/10/2021 | |
3.1.17 | 25,758 | 7/13/2021 | |
3.1.16 | 24,162 | 6/8/2021 | |
3.1.15 | 18,030 | 5/11/2021 | |
3.1.14 | 46,407 | 4/6/2021 | |
3.1.13 | 42,442 | 3/9/2021 | |
3.1.12 | 49,935 | 2/9/2021 | |
3.1.11 | 34,613 | 1/12/2021 | |
3.1.10 | 129,821 | 11/9/2020 | |
3.1.9 | 334,831 | 10/13/2020 | |
3.1.8 | 377,890 | 9/8/2020 | |
3.1.7 | 321,615 | 8/11/2020 | |
3.1.6 | 336,952 | 7/14/2020 | |
3.1.5 | 325,510 | 6/9/2020 | |
3.1.4 | 311,028 | 5/12/2020 | |
3.1.3 | 533,042 | 3/24/2020 | |
3.1.2 | 362,722 | 2/19/2020 | |
3.1.1 | 522,123 | 1/14/2020 | |
3.1.0 | 515,899 | 12/3/2019 | |
3.1.0-preview3.19554.8 | 3,992 | 11/13/2019 | |
3.1.0-preview2.19525.5 | 975 | 11/1/2019 | |
3.1.0-preview1.19506.2 | 2,278 | 10/15/2019 | |
3.0.3 | 12,264 | 2/19/2020 | |
3.0.2 | 9,384 | 1/14/2020 | |
3.0.1 | 25,795 | 11/18/2019 | |
3.0.0 | 558,032 | 9/23/2019 | |
3.0.0-rc1.19456.14 | 1,987 | 9/16/2019 | |
3.0.0-preview9.19423.6 | 3,402 | 9/4/2019 | |
3.0.0-preview8.19405.11 | 5,758 | 8/13/2019 | |
3.0.0-preview7.19362.6 | 7,079 | 7/23/2019 | |
3.0.0-preview6.19304.10 | 2,557 | 6/12/2019 | |
3.0.0-preview5.19227.1 | 2,741 | 5/6/2019 | |
3.0.0-preview4.19216.3 | 8,399 | 4/18/2019 | |
3.0.0-preview3.19153.1 | 1,515 | 3/6/2019 | |
3.0.0-preview.19074.3 | 2,255 | 1/29/2019 | |
3.0.0-preview.18572.1 | 2,984 | 12/3/2018 | |
2.2.6 | 79,381 | 7/9/2019 | |
2.2.3 | 9,037 | 3/11/2019 | |
2.2.2 | 9,795 | 2/12/2019 | |
2.2.1 | 9,662 | 1/8/2019 | |
2.2.0 | 41,996 | 12/3/2018 | |
2.2.0-preview3-35497 | 7,907 | 10/17/2018 | |
2.2.0-preview2-35157 | 8,018 | 9/12/2018 | |
2.2.0-preview1-35029 | 8,148 | 8/22/2018 | |
2.1.14 | 25,964 | 11/18/2019 | |
2.1.11 | 11,144 | 5/14/2019 | |
2.1.8 | 8,574 | 2/12/2019 | |
2.1.4 | 20,143 | 10/1/2018 | |
2.1.3 | 9,484 | 9/11/2018 | |
2.1.2 | 8,786 | 8/21/2018 | |
2.1.1 | 14,009 | 6/18/2018 | |
2.1.0 | 38,182 | 5/29/2018 |