Microsoft.EntityFrameworkCore.Tools
8.0.10
Prefix Reserved
See the version list below for details.
Requires NuGet 3.6 or higher.
dotnet add package Microsoft.EntityFrameworkCore.Tools --version 8.0.10
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 8.0.10
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.10"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Microsoft.EntityFrameworkCore.Tools --version 8.0.10
#r "nuget: Microsoft.EntityFrameworkCore.Tools, 8.0.10"
// Install Microsoft.EntityFrameworkCore.Tools as a Cake Addin #addin nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=8.0.10 // Install Microsoft.EntityFrameworkCore.Tools as a Cake Tool #tool nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=8.0.10
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.
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. |
-
net8.0
- Microsoft.EntityFrameworkCore.Design (>= 8.0.10)
NuGet packages (282)
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 | 141,792 | 11/12/2024 | |
9.0.0-rc.2.24474.1 | 39,912 | 10/8/2024 | |
9.0.0-rc.1.24451.1 | 28,283 | 9/10/2024 | |
9.0.0-preview.7.24405.3 | 17,946 | 8/13/2024 | |
9.0.0-preview.6.24327.4 | 17,351 | 7/9/2024 | |
9.0.0-preview.5.24306.3 | 12,610 | 6/11/2024 | |
9.0.0-preview.4.24267.1 | 13,711 | 5/21/2024 | |
9.0.0-preview.3.24172.4 | 101,176 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 21,928 | 3/12/2024 | |
9.0.0-preview.1.24081.2 | 37,541 | 2/13/2024 | |
8.0.11 | 133,251 | 11/12/2024 | |
8.0.10 | 2,181,021 | 10/8/2024 | |
8.0.8 | 4,461,831 | 8/13/2024 | |
8.0.7 | 3,243,105 | 7/9/2024 | |
8.0.6 | 4,080,499 | 5/28/2024 | |
8.0.5 | 1,616,743 | 5/14/2024 | |
8.0.4 | 4,321,351 | 4/9/2024 | |
8.0.3 | 3,091,227 | 3/12/2024 | |
8.0.2 | 3,704,098 | 2/13/2024 | |
8.0.1 | 3,482,325 | 1/9/2024 | |
8.0.0 | 4,689,104 | 11/14/2023 | |
8.0.0-rc.2.23480.1 | 69,002 | 10/10/2023 | |
8.0.0-rc.1.23419.6 | 37,514 | 9/12/2023 | |
8.0.0-preview.7.23375.4 | 29,854 | 8/8/2023 | |
8.0.0-preview.6.23329.4 | 39,249 | 7/11/2023 | |
8.0.0-preview.5.23280.1 | 34,866 | 6/13/2023 | |
8.0.0-preview.4.23259.3 | 32,941 | 5/16/2023 | |
8.0.0-preview.3.23174.2 | 58,419 | 4/11/2023 | |
8.0.0-preview.2.23128.3 | 34,201 | 3/14/2023 | |
8.0.0-preview.1.23111.4 | 76,496 | 2/21/2023 | |
7.0.20 | 560,999 | 5/28/2024 | |
7.0.19 | 129,546 | 5/14/2024 | |
7.0.18 | 382,205 | 4/9/2024 | |
7.0.17 | 352,733 | 3/12/2024 | |
7.0.16 | 497,253 | 2/13/2024 | |
7.0.15 | 767,182 | 1/9/2024 | |
7.0.14 | 1,644,534 | 11/14/2023 | |
7.0.13 | 1,966,024 | 10/24/2023 | |
7.0.12 | 1,476,775 | 10/10/2023 | |
7.0.11 | 3,062,162 | 9/12/2023 | |
7.0.10 | 3,104,505 | 8/8/2023 | |
7.0.9 | 2,455,754 | 7/11/2023 | |
7.0.8 | 2,103,717 | 6/22/2023 | |
7.0.7 | 1,003,810 | 6/13/2023 | |
7.0.5 | 6,717,386 | 4/11/2023 | |
7.0.4 | 3,036,688 | 3/14/2023 | |
7.0.3 | 3,749,440 | 2/14/2023 | |
7.0.2 | 4,476,221 | 1/10/2023 | |
7.0.1 | 2,746,191 | 12/13/2022 | |
7.0.0 | 3,409,942 | 11/7/2022 | |
7.0.0-rc.2.22472.11 | 74,086 | 10/11/2022 | |
7.0.0-rc.1.22426.7 | 33,996 | 9/14/2022 | |
7.0.0-preview.7.22376.2 | 30,612 | 8/9/2022 | |
7.0.0-preview.6.22329.4 | 22,590 | 7/12/2022 | |
7.0.0-preview.5.22302.2 | 19,962 | 6/14/2022 | |
7.0.0-preview.4.22229.2 | 25,800 | 5/10/2022 | |
7.0.0-preview.3.22175.1 | 42,107 | 4/13/2022 | |
7.0.0-preview.2.22153.1 | 16,360 | 3/14/2022 | |
7.0.0-preview.1.22076.6 | 13,466 | 2/17/2022 | |
6.0.36 | 10,342 | 11/12/2024 | |
6.0.35 | 69,416 | 10/8/2024 | |
6.0.33 | 176,909 | 8/13/2024 | |
6.0.32 | 149,279 | 7/9/2024 | |
6.0.31 | 214,651 | 5/28/2024 | |
6.0.30 | 121,048 | 5/14/2024 | |
6.0.29 | 416,243 | 4/9/2024 | |
6.0.28 | 409,516 | 3/12/2024 | |
6.0.27 | 427,238 | 2/13/2024 | |
6.0.26 | 610,059 | 1/9/2024 | |
6.0.25 | 935,378 | 11/14/2023 | |
6.0.24 | 455,569 | 10/24/2023 | |
6.0.23 | 428,577 | 10/10/2023 | |
6.0.22 | 892,204 | 9/12/2023 | |
6.0.21 | 933,559 | 8/8/2023 | |
6.0.20 | 893,659 | 7/11/2023 | |
6.0.19 | 586,705 | 6/22/2023 | |
6.0.18 | 419,507 | 6/13/2023 | |
6.0.16 | 2,159,119 | 4/11/2023 | |
6.0.15 | 1,189,505 | 3/14/2023 | |
6.0.14 | 1,556,475 | 2/14/2023 | |
6.0.13 | 2,221,503 | 1/10/2023 | |
6.0.12 | 1,897,034 | 12/13/2022 | |
6.0.11 | 3,102,650 | 11/7/2022 | |
6.0.10 | 5,473,228 | 10/11/2022 | |
6.0.9 | 4,699,249 | 9/13/2022 | |
6.0.8 | 6,142,495 | 8/9/2022 | |
6.0.7 | 5,974,229 | 7/12/2022 | |
6.0.6 | 3,754,600 | 6/14/2022 | |
6.0.5 | 5,935,678 | 5/10/2022 | |
6.0.4 | 4,412,073 | 4/11/2022 | |
6.0.3 | 4,988,297 | 3/8/2022 | |
6.0.2 | 4,112,933 | 2/8/2022 | |
6.0.1 | 6,665,858 | 12/14/2021 | |
6.0.0 | 7,009,681 | 11/8/2021 | |
6.0.0-rc.2.21480.5 | 54,477 | 10/12/2021 | |
6.0.0-rc.1.21452.10 | 56,288 | 9/14/2021 | |
6.0.0-preview.7.21378.4 | 37,262 | 8/10/2021 | |
6.0.0-preview.6.21352.1 | 19,597 | 7/14/2021 | |
6.0.0-preview.5.21301.9 | 35,501 | 6/15/2021 | |
6.0.0-preview.4.21253.1 | 18,894 | 5/24/2021 | |
6.0.0-preview.3.21201.2 | 38,348 | 4/8/2021 | |
6.0.0-preview.2.21154.2 | 14,575 | 3/11/2021 | |
6.0.0-preview.1.21102.2 | 30,998 | 2/12/2021 | |
5.0.17 | 2,257,011 | 5/10/2022 | |
5.0.16 | 434,406 | 4/11/2022 | |
5.0.15 | 692,194 | 3/8/2022 | |
5.0.14 | 894,825 | 2/8/2022 | |
5.0.13 | 1,367,555 | 12/14/2021 | |
5.0.12 | 1,607,642 | 11/7/2021 | |
5.0.11 | 3,076,824 | 10/12/2021 | |
5.0.10 | 3,836,881 | 9/14/2021 | |
5.0.9 | 3,169,999 | 8/10/2021 | |
5.0.8 | 3,003,854 | 7/13/2021 | |
5.0.7 | 3,440,771 | 6/8/2021 | |
5.0.6 | 2,656,136 | 5/11/2021 | |
5.0.5 | 3,593,937 | 4/6/2021 | |
5.0.4 | 2,498,886 | 3/9/2021 | |
5.0.3 | 2,406,065 | 2/9/2021 | |
5.0.2 | 2,447,341 | 1/12/2021 | |
5.0.1 | 2,242,647 | 12/8/2020 | |
5.0.0 | 3,393,430 | 11/9/2020 | |
5.0.0-rc.2.20475.6 | 69,266 | 10/13/2020 | |
5.0.0-rc.1.20451.13 | 52,418 | 9/14/2020 | |
5.0.0-preview.8.20407.4 | 33,443 | 8/25/2020 | |
5.0.0-preview.7.20365.15 | 32,596 | 7/21/2020 | |
5.0.0-preview.6.20312.4 | 31,919 | 6/25/2020 | |
5.0.0-preview.5.20278.2 | 15,675 | 6/10/2020 | |
5.0.0-preview.4.20220.10 | 26,124 | 5/18/2020 | |
5.0.0-preview.3.20181.2 | 38,207 | 4/23/2020 | |
5.0.0-preview.2.20159.4 | 25,991 | 4/2/2020 | |
5.0.0-preview.2.20120.8 | 14,318 | 3/16/2020 | |
3.1.32 | 774,362 | 12/13/2022 | |
3.1.31 | 158,002 | 11/8/2022 | |
3.1.30 | 196,732 | 10/11/2022 | |
3.1.29 | 554,155 | 9/13/2022 | |
3.1.28 | 137,459 | 8/9/2022 | |
3.1.27 | 111,560 | 7/12/2022 | |
3.1.26 | 154,450 | 6/14/2022 | |
3.1.25 | 314,877 | 5/10/2022 | |
3.1.24 | 155,663 | 4/11/2022 | |
3.1.23 | 376,527 | 3/8/2022 | |
3.1.22 | 862,857 | 12/14/2021 | |
3.1.21 | 953,325 | 11/7/2021 | |
3.1.20 | 331,548 | 10/11/2021 | |
3.1.19 | 566,269 | 9/14/2021 | |
3.1.18 | 862,296 | 8/10/2021 | |
3.1.17 | 532,601 | 7/13/2021 | |
3.1.16 | 578,345 | 6/8/2021 | |
3.1.15 | 783,071 | 5/11/2021 | |
3.1.14 | 953,196 | 4/6/2021 | |
3.1.13 | 1,184,009 | 3/9/2021 | |
3.1.12 | 1,035,583 | 2/9/2021 | |
3.1.11 | 1,369,915 | 1/12/2021 | |
3.1.10 | 2,298,664 | 11/9/2020 | |
3.1.9 | 3,413,332 | 10/13/2020 | |
3.1.8 | 5,070,403 | 9/8/2020 | |
3.1.7 | 2,989,314 | 8/11/2020 | |
3.1.6 | 3,431,221 | 7/14/2020 | |
3.1.5 | 4,225,427 | 6/9/2020 | |
3.1.4 | 4,122,088 | 5/12/2020 | |
3.1.3 | 5,727,542 | 3/24/2020 | |
3.1.2 | 4,108,236 | 2/19/2020 | |
3.1.1 | 4,085,197 | 1/14/2020 | |
3.1.0 | 4,431,030 | 12/3/2019 | |
3.1.0-preview3.19554.8 | 37,480 | 11/13/2019 | |
3.1.0-preview2.19525.5 | 15,229 | 11/1/2019 | |
3.1.0-preview1.19506.2 | 772,537 | 10/15/2019 | |
3.0.3 | 49,709 | 2/19/2020 | |
3.0.2 | 31,896 | 1/14/2020 | |
3.0.1 | 474,893 | 11/18/2019 | |
3.0.0 | 4,508,634 | 9/23/2019 | |
3.0.0-rc1.19456.14 | 22,619 | 9/16/2019 | |
3.0.0-preview9.19423.6 | 38,318 | 9/4/2019 | |
3.0.0-preview8.19405.11 | 42,787 | 8/13/2019 | |
3.0.0-preview7.19362.6 | 30,116 | 7/23/2019 | |
3.0.0-preview6.19304.10 | 39,337 | 6/12/2019 | |
3.0.0-preview5.19227.1 | 47,520 | 5/6/2019 | |
3.0.0-preview4.19216.3 | 9,030 | 4/18/2019 | |
3.0.0-preview3.19153.1 | 29,289 | 3/6/2019 | |
3.0.0-preview.19074.3 | 15,788 | 1/29/2019 | |
3.0.0-preview.18572.1 | 14,237 | 12/3/2018 | |
2.2.6 | 10,543,585 | 7/9/2019 | |
2.2.4 | 5,709,775 | 4/9/2019 | |
2.2.3 | 1,763,597 | 3/11/2019 | |
2.2.2 | 2,000,991 | 2/12/2019 | |
2.2.1 | 2,576,373 | 1/8/2019 | |
2.2.0 | 10,782,448 | 12/3/2018 | |
2.2.0-preview3-35497 | 88,129 | 10/17/2018 | |
2.2.0-preview2-35157 | 66,569 | 9/12/2018 | |
2.2.0-preview1-35029 | 18,020 | 8/22/2018 | |
2.1.14 | 2,004,810 | 11/18/2019 | |
2.1.11 | 1,820,008 | 5/14/2019 | |
2.1.8 | 2,213,019 | 2/12/2019 | |
2.1.4 | 6,737,885 | 10/1/2018 | |
2.1.3 | 3,203,889 | 9/11/2018 | |
2.1.2 | 2,475,395 | 8/21/2018 | |
2.1.1 | 11,164,180 | 6/18/2018 | |
2.1.0 | 4,595,853 | 5/29/2018 | |
2.1.0-rc1-final | 51,383 | 5/6/2018 | |
2.1.0-preview2-final | 67,492 | 4/10/2018 | |
2.1.0-preview1-final | 202,772 | 2/26/2018 | |
2.0.3 | 4,053,457 | 5/7/2018 | |
2.0.2 | 4,113,479 | 3/13/2018 | |
2.0.1 | 6,683,510 | 11/14/2017 | |
2.0.0 | 7,049,768 | 8/11/2017 | |
2.0.0-preview2-final | 63,447 | 6/28/2017 | |
2.0.0-preview1-final | 36,716 | 5/10/2017 | |
1.1.6 | 66,007 | 7/10/2018 | |
1.1.5 | 176,800 | 12/12/2017 | |
1.1.4 | 20,083 | 11/14/2017 | |
1.1.2 | 63,078 | 9/20/2017 | |
1.1.1 | 709,828 | 5/9/2017 | |
1.1.0 | 281,163 | 3/6/2017 | |
1.1.0-preview4-final | 327,476 | 11/16/2016 | |
1.1.0-msbuild3-final | 47,781 | 1/27/2017 | |
1.0.3 | 14,465 | 11/14/2017 | |
1.0.2 | 7,390 | 9/20/2017 | |
1.0.1 | 14,748 | 5/9/2017 | |
1.0.0 | 427,362 | 3/6/2017 | |
1.0.0-preview4-final | 29,702 | 12/12/2016 | |
1.0.0-preview3-final | 49,135 | 10/24/2016 | |
1.0.0-preview2-final | 383,674 | 6/27/2016 | |
1.0.0-preview1-final | 63,643 | 5/16/2016 | |
1.0.0-msbuild3-final | 36,527 | 1/27/2017 | |
1.0.0-msbuild2-final | 10,819 | 12/12/2016 | |
1.0.0-msbuild1-final | 16,427 | 11/16/2016 |