dotnet-ef
11.0.0-preview.3.26207.106
Prefix Reserved
This is a prerelease version of dotnet-ef.
dotnet tool install --global dotnet-ef --version 11.0.0-preview.3.26207.106
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 11.0.0-preview.3.26207.106
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-ef&version=11.0.0-preview.3.26207.106&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-ef --version 11.0.0-preview.3.26207.106
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 |
|---|---|---|
| 11.0.0-preview.3.26207.106 | 1,087 | 4/14/2026 |
| 11.0.0-preview.2.26159.112 | 1,491 | 3/10/2026 |
| 11.0.0-preview.1.26104.118 | 2,127 | 2/10/2026 |
| 10.0.7 | 248,489 | 4/21/2026 |
| 10.0.6 | 248,867 | 4/14/2026 |
| 10.0.5 | 1,129,349 | 3/12/2026 |
| 10.0.4 | 116,987 | 3/10/2026 |
| 10.0.3 | 1,791,973 | 2/10/2026 |
| 10.0.2 | 1,776,109 | 1/13/2026 |
| 10.0.1 | 1,828,709 | 12/9/2025 |
| 10.0.0 | 1,699,870 | 11/11/2025 |
| 9.0.15 | 46,850 | 4/14/2026 |
| 9.0.14 | 126,703 | 3/10/2026 |
| 9.0.13 | 127,874 | 2/10/2026 |
| 9.0.12 | 152,611 | 1/13/2026 |
| 9.0.11 | 667,377 | 11/11/2025 |
| 8.0.26 | 62,243 | 4/14/2026 |
| 8.0.25 | 167,448 | 3/10/2026 |
| 8.0.24 | 168,394 | 2/10/2026 |
| 8.0.23 | 156,579 | 1/13/2026 |
Loading failed