Microsoft.EntityFrameworkCore.Tools
9.0.0
Prefix Reserved
dotnet add package Microsoft.EntityFrameworkCore.Tools --version 9.0.0
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 9.0.0
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Microsoft.EntityFrameworkCore.Tools --version 9.0.0
#r "nuget: Microsoft.EntityFrameworkCore.Tools, 9.0.0"
// Install Microsoft.EntityFrameworkCore.Tools as a Cake Addin #addin nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=9.0.0 // Install Microsoft.EntityFrameworkCore.Tools as a Cake Tool #tool nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=9.0.0
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, Microsoft.EntityFrameworkCore.Tools
is for PowerShell tooling that works in the Visual Studio Package Manager Console (PMC).
Usage
Install the tools package by running the following in the Visual Studio PMC:
Install-Package Microsoft.EntityFrameworkCore.Tools
The available commands are listed in the following table.
PMC Command | Usage |
---|---|
Add-Migration | Adds a new migration. |
Bundle-Migration | Creates an executable to update the database. |
Drop-Database | Drops the database. |
Get-DbContext | Gets information about a DbContext type. |
Get-Help EntityFramework | Displays information about Entity Framework commands. |
Get-Migration | Lists available migrations. |
Optimize-DbContext | Generates a compiled version of the model used by the DbContext . |
Remove-Migration | Removes the last migration. |
Scaffold-DbContext | Generates a DbContext and entity type classes for a specified database. |
Script-DbContext | Generates a SQL script from the DbContext . Bypasses any migrations. |
Script-Migration | Generates a SQL script from the migrations. |
Update-Database | Updates the database to the last migration or to a specified migration. |
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.
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.EntityFrameworkCore.Design (>= 9.0.0)
NuGet packages (283)
Showing the top 5 NuGet packages that depend on Microsoft.EntityFrameworkCore.Tools:
Package | Downloads |
---|---|
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download. |
|
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download. |
|
ImmediaC.SimpleCms
ASP.NET Core based CMS |
|
StatisticManagers-CMS
Route bug fix |
|
TrueSight
Package Description |
GitHub repositories (493)
Showing the top 5 popular GitHub repositories that depend on Microsoft.EntityFrameworkCore.Tools:
Repository | Stars |
---|---|
jellyfin/jellyfin
The Free Software Media System
|
|
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
|
|
ardalis/CleanArchitecture
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
|
Version | Downloads | Last updated | |
---|---|---|---|
9.0.0 | 104,562 | 11/12/2024 | |
9.0.0-rc.2.24474.1 | 38,923 | 10/8/2024 | |
9.0.0-rc.1.24451.1 | 27,867 | 9/10/2024 | |
9.0.0-preview.7.24405.3 | 17,895 | 8/13/2024 | |
9.0.0-preview.6.24327.4 | 17,294 | 7/9/2024 | |
9.0.0-preview.5.24306.3 | 12,574 | 6/11/2024 | |
9.0.0-preview.4.24267.1 | 13,683 | 5/21/2024 | |
9.0.0-preview.3.24172.4 | 101,070 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 21,878 | 3/12/2024 | |
9.0.0-preview.1.24081.2 | 37,436 | 2/13/2024 | |
8.0.11 | 91,592 | 11/12/2024 | |
8.0.10 | 2,063,863 | 10/8/2024 | |
8.0.8 | 4,385,269 | 8/13/2024 | |
8.0.7 | 3,207,383 | 7/9/2024 | |
8.0.6 | 4,044,753 | 5/28/2024 | |
8.0.5 | 1,603,384 | 5/14/2024 | |
8.0.4 | 4,290,784 | 4/9/2024 | |
8.0.3 | 3,073,737 | 3/12/2024 | |
8.0.2 | 3,684,401 | 2/13/2024 | |
8.0.1 | 3,468,248 | 1/9/2024 | |
8.0.0 | 4,665,956 | 11/14/2023 | |
8.0.0-rc.2.23480.1 | 68,919 | 10/10/2023 | |
8.0.0-rc.1.23419.6 | 37,471 | 9/12/2023 | |
8.0.0-preview.7.23375.4 | 29,837 | 8/8/2023 | |
8.0.0-preview.6.23329.4 | 39,183 | 7/11/2023 | |
8.0.0-preview.5.23280.1 | 34,827 | 6/13/2023 | |
8.0.0-preview.4.23259.3 | 32,899 | 5/16/2023 | |
8.0.0-preview.3.23174.2 | 58,299 | 4/11/2023 | |
8.0.0-preview.2.23128.3 | 34,154 | 3/14/2023 | |
8.0.0-preview.1.23111.4 | 76,481 | 2/21/2023 | |
7.0.20 | 553,155 | 5/28/2024 | |
7.0.19 | 128,834 | 5/14/2024 | |
7.0.18 | 379,636 | 4/9/2024 | |
7.0.17 | 351,256 | 3/12/2024 | |
7.0.16 | 495,666 | 2/13/2024 | |
7.0.15 | 765,332 | 1/9/2024 | |
7.0.14 | 1,640,467 | 11/14/2023 | |
7.0.13 | 1,962,508 | 10/24/2023 | |
7.0.12 | 1,473,611 | 10/10/2023 | |
7.0.11 | 3,053,629 | 9/12/2023 | |
7.0.10 | 3,098,881 | 8/8/2023 | |
7.0.9 | 2,451,168 | 7/11/2023 | |
7.0.8 | 2,100,875 | 6/22/2023 | |
7.0.7 | 1,002,365 | 6/13/2023 | |
7.0.5 | 6,707,491 | 4/11/2023 | |
7.0.4 | 3,033,278 | 3/14/2023 | |
7.0.3 | 3,744,567 | 2/14/2023 | |
7.0.2 | 4,467,840 | 1/10/2023 | |
7.0.1 | 2,742,663 | 12/13/2022 | |
7.0.0 | 3,405,697 | 11/7/2022 | |
7.0.0-rc.2.22472.11 | 73,927 | 10/11/2022 | |
7.0.0-rc.1.22426.7 | 33,976 | 9/14/2022 | |
7.0.0-preview.7.22376.2 | 30,602 | 8/9/2022 | |
7.0.0-preview.6.22329.4 | 22,571 | 7/12/2022 | |
7.0.0-preview.5.22302.2 | 19,942 | 6/14/2022 | |
7.0.0-preview.4.22229.2 | 25,779 | 5/10/2022 | |
7.0.0-preview.3.22175.1 | 42,096 | 4/13/2022 | |
7.0.0-preview.2.22153.1 | 16,340 | 3/14/2022 | |
7.0.0-preview.1.22076.6 | 13,459 | 2/17/2022 | |
6.0.36 | 7,588 | 11/12/2024 | |
6.0.35 | 66,917 | 10/8/2024 | |
6.0.33 | 173,926 | 8/13/2024 | |
6.0.32 | 147,564 | 7/9/2024 | |
6.0.31 | 213,166 | 5/28/2024 | |
6.0.30 | 120,318 | 5/14/2024 | |
6.0.29 | 413,703 | 4/9/2024 | |
6.0.28 | 407,093 | 3/12/2024 | |
6.0.27 | 425,352 | 2/13/2024 | |
6.0.26 | 607,783 | 1/9/2024 | |
6.0.25 | 932,808 | 11/14/2023 | |
6.0.24 | 454,235 | 10/24/2023 | |
6.0.23 | 427,654 | 10/10/2023 | |
6.0.22 | 890,050 | 9/12/2023 | |
6.0.21 | 931,884 | 8/8/2023 | |
6.0.20 | 890,731 | 7/11/2023 | |
6.0.19 | 585,900 | 6/22/2023 | |
6.0.18 | 418,447 | 6/13/2023 | |
6.0.16 | 2,155,034 | 4/11/2023 | |
6.0.15 | 1,188,070 | 3/14/2023 | |
6.0.14 | 1,554,098 | 2/14/2023 | |
6.0.13 | 2,218,003 | 1/10/2023 | |
6.0.12 | 1,893,783 | 12/13/2022 | |
6.0.11 | 3,099,344 | 11/7/2022 | |
6.0.10 | 5,467,101 | 10/11/2022 | |
6.0.9 | 4,694,007 | 9/13/2022 | |
6.0.8 | 6,135,535 | 8/9/2022 | |
6.0.7 | 5,966,135 | 7/12/2022 | |
6.0.6 | 3,751,133 | 6/14/2022 | |
6.0.5 | 5,931,001 | 5/10/2022 | |
6.0.4 | 4,407,034 | 4/11/2022 | |
6.0.3 | 4,984,677 | 3/8/2022 | |
6.0.2 | 4,109,513 | 2/8/2022 | |
6.0.1 | 6,660,676 | 12/14/2021 | |
6.0.0 | 7,001,287 | 11/8/2021 | |
6.0.0-rc.2.21480.5 | 54,461 | 10/12/2021 | |
6.0.0-rc.1.21452.10 | 56,268 | 9/14/2021 | |
6.0.0-preview.7.21378.4 | 37,123 | 8/10/2021 | |
6.0.0-preview.6.21352.1 | 19,590 | 7/14/2021 | |
6.0.0-preview.5.21301.9 | 35,473 | 6/15/2021 | |
6.0.0-preview.4.21253.1 | 18,888 | 5/24/2021 | |
6.0.0-preview.3.21201.2 | 38,335 | 4/8/2021 | |
6.0.0-preview.2.21154.2 | 14,573 | 3/11/2021 | |
6.0.0-preview.1.21102.2 | 30,984 | 2/12/2021 | |
5.0.17 | 2,253,264 | 5/10/2022 | |
5.0.16 | 434,079 | 4/11/2022 | |
5.0.15 | 691,778 | 3/8/2022 | |
5.0.14 | 894,541 | 2/8/2022 | |
5.0.13 | 1,366,232 | 12/14/2021 | |
5.0.12 | 1,606,379 | 11/7/2021 | |
5.0.11 | 3,075,643 | 10/12/2021 | |
5.0.10 | 3,834,745 | 9/14/2021 | |
5.0.9 | 3,168,537 | 8/10/2021 | |
5.0.8 | 3,002,605 | 7/13/2021 | |
5.0.7 | 3,439,320 | 6/8/2021 | |
5.0.6 | 2,655,033 | 5/11/2021 | |
5.0.5 | 3,591,535 | 4/6/2021 | |
5.0.4 | 2,497,917 | 3/9/2021 | |
5.0.3 | 2,405,197 | 2/9/2021 | |
5.0.2 | 2,446,676 | 1/12/2021 | |
5.0.1 | 2,241,886 | 12/8/2020 | |
5.0.0 | 3,392,086 | 11/9/2020 | |
5.0.0-rc.2.20475.6 | 69,230 | 10/13/2020 | |
5.0.0-rc.1.20451.13 | 52,402 | 9/14/2020 | |
5.0.0-preview.8.20407.4 | 33,431 | 8/25/2020 | |
5.0.0-preview.7.20365.15 | 32,589 | 7/21/2020 | |
5.0.0-preview.6.20312.4 | 31,916 | 6/25/2020 | |
5.0.0-preview.5.20278.2 | 15,669 | 6/10/2020 | |
5.0.0-preview.4.20220.10 | 26,115 | 5/18/2020 | |
5.0.0-preview.3.20181.2 | 38,195 | 4/23/2020 | |
5.0.0-preview.2.20159.4 | 25,987 | 4/2/2020 | |
5.0.0-preview.2.20120.8 | 14,309 | 3/16/2020 | |
3.1.32 | 770,705 | 12/13/2022 | |
3.1.31 | 157,663 | 11/8/2022 | |
3.1.30 | 196,223 | 10/11/2022 | |
3.1.29 | 552,820 | 9/13/2022 | |
3.1.28 | 137,308 | 8/9/2022 | |
3.1.27 | 111,424 | 7/12/2022 | |
3.1.26 | 154,230 | 6/14/2022 | |
3.1.25 | 314,581 | 5/10/2022 | |
3.1.24 | 155,569 | 4/11/2022 | |
3.1.23 | 376,298 | 3/8/2022 | |
3.1.22 | 861,916 | 12/14/2021 | |
3.1.21 | 952,673 | 11/7/2021 | |
3.1.20 | 331,281 | 10/11/2021 | |
3.1.19 | 565,848 | 9/14/2021 | |
3.1.18 | 861,548 | 8/10/2021 | |
3.1.17 | 532,231 | 7/13/2021 | |
3.1.16 | 578,051 | 6/8/2021 | |
3.1.15 | 782,783 | 5/11/2021 | |
3.1.14 | 952,490 | 4/6/2021 | |
3.1.13 | 1,183,663 | 3/9/2021 | |
3.1.12 | 1,035,338 | 2/9/2021 | |
3.1.11 | 1,369,435 | 1/12/2021 | |
3.1.10 | 2,297,721 | 11/9/2020 | |
3.1.9 | 3,412,328 | 10/13/2020 | |
3.1.8 | 5,069,138 | 9/8/2020 | |
3.1.7 | 2,988,356 | 8/11/2020 | |
3.1.6 | 3,430,190 | 7/14/2020 | |
3.1.5 | 4,224,229 | 6/9/2020 | |
3.1.4 | 4,120,146 | 5/12/2020 | |
3.1.3 | 5,725,595 | 3/24/2020 | |
3.1.2 | 4,107,344 | 2/19/2020 | |
3.1.1 | 4,084,039 | 1/14/2020 | |
3.1.0 | 4,429,430 | 12/3/2019 | |
3.1.0-preview3.19554.8 | 37,465 | 11/13/2019 | |
3.1.0-preview2.19525.5 | 15,223 | 11/1/2019 | |
3.1.0-preview1.19506.2 | 772,210 | 10/15/2019 | |
3.0.3 | 49,682 | 2/19/2020 | |
3.0.2 | 31,879 | 1/14/2020 | |
3.0.1 | 474,779 | 11/18/2019 | |
3.0.0 | 4,506,856 | 9/23/2019 | |
3.0.0-rc1.19456.14 | 22,614 | 9/16/2019 | |
3.0.0-preview9.19423.6 | 38,297 | 9/4/2019 | |
3.0.0-preview8.19405.11 | 42,779 | 8/13/2019 | |
3.0.0-preview7.19362.6 | 30,109 | 7/23/2019 | |
3.0.0-preview6.19304.10 | 39,330 | 6/12/2019 | |
3.0.0-preview5.19227.1 | 47,515 | 5/6/2019 | |
3.0.0-preview4.19216.3 | 9,028 | 4/18/2019 | |
3.0.0-preview3.19153.1 | 29,279 | 3/6/2019 | |
3.0.0-preview.19074.3 | 15,786 | 1/29/2019 | |
3.0.0-preview.18572.1 | 14,223 | 12/3/2018 | |
2.2.6 | 10,539,332 | 7/9/2019 | |
2.2.4 | 5,708,529 | 4/9/2019 | |
2.2.3 | 1,763,279 | 3/11/2019 | |
2.2.2 | 2,000,704 | 2/12/2019 | |
2.2.1 | 2,575,710 | 1/8/2019 | |
2.2.0 | 10,776,915 | 12/3/2018 | |
2.2.0-preview3-35497 | 88,122 | 10/17/2018 | |
2.2.0-preview2-35157 | 66,502 | 9/12/2018 | |
2.2.0-preview1-35029 | 18,018 | 8/22/2018 | |
2.1.14 | 2,004,006 | 11/18/2019 | |
2.1.11 | 1,819,784 | 5/14/2019 | |
2.1.8 | 2,212,867 | 2/12/2019 | |
2.1.4 | 6,736,288 | 10/1/2018 | |
2.1.3 | 3,203,534 | 9/11/2018 | |
2.1.2 | 2,475,091 | 8/21/2018 | |
2.1.1 | 11,148,798 | 6/18/2018 | |
2.1.0 | 4,594,815 | 5/29/2018 | |
2.1.0-rc1-final | 51,379 | 5/6/2018 | |
2.1.0-preview2-final | 67,464 | 4/10/2018 | |
2.1.0-preview1-final | 202,738 | 2/26/2018 | |
2.0.3 | 4,051,956 | 5/7/2018 | |
2.0.2 | 4,112,342 | 3/13/2018 | |
2.0.1 | 6,681,324 | 11/14/2017 | |
2.0.0 | 7,047,952 | 8/11/2017 | |
2.0.0-preview2-final | 63,438 | 6/28/2017 | |
2.0.0-preview1-final | 36,694 | 5/10/2017 | |
1.1.6 | 65,954 | 7/10/2018 | |
1.1.5 | 176,767 | 12/12/2017 | |
1.1.4 | 20,077 | 11/14/2017 | |
1.1.2 | 63,059 | 9/20/2017 | |
1.1.1 | 709,411 | 5/9/2017 | |
1.1.0 | 281,088 | 3/6/2017 | |
1.1.0-preview4-final | 327,453 | 11/16/2016 | |
1.1.0-msbuild3-final | 47,758 | 1/27/2017 | |
1.0.3 | 14,455 | 11/14/2017 | |
1.0.2 | 7,388 | 9/20/2017 | |
1.0.1 | 14,743 | 5/9/2017 | |
1.0.0 | 426,484 | 3/6/2017 | |
1.0.0-preview4-final | 29,700 | 12/12/2016 | |
1.0.0-preview3-final | 49,132 | 10/24/2016 | |
1.0.0-preview2-final | 383,658 | 6/27/2016 | |
1.0.0-preview1-final | 63,622 | 5/16/2016 | |
1.0.0-msbuild3-final | 36,522 | 1/27/2017 | |
1.0.0-msbuild2-final | 10,811 | 12/12/2016 | |
1.0.0-msbuild1-final | 16,422 | 11/16/2016 |