Microsoft.EntityFrameworkCore.Tools 9.0.4

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.EntityFrameworkCore.Tools --version 9.0.4
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 9.0.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.4">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.EntityFrameworkCore.Tools --version 9.0.4
                    
#r "nuget: Microsoft.EntityFrameworkCore.Tools, 9.0.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=9.0.4
                    
Install Microsoft.EntityFrameworkCore.Tools as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=9.0.4
                    
Install Microsoft.EntityFrameworkCore.Tools as a Cake Tool

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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (295)

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.

JoreNoe

Redis和Dapper增加多连接方式,并且优化性能

ImmediaC.SimpleCms

ASP.NET Core based CMS

StatisticManagers-CMS

Page Display Auth Process

GitHub repositories (529)

Showing the top 20 popular GitHub repositories that depend on Microsoft.EntityFrameworkCore.Tools:

Repository Stars
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 9
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
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb
dotnet/eShop
A reference .NET application implementing an eCommerce site
louthy/language-ext
C# pure functional programming framework - come and get declarative!
EduardoPires/EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
jasontaylordev/NorthwindTraders
Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
immense/Remotely
A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
Version Downloads Last updated
10.0.0-preview.3.25171.6 3,498 13 days ago
10.0.0-preview.2.25163.8 8,491 a month ago
10.0.0-preview.1.25081.1 8,481 2 months ago
9.0.4 349,505 15 days ago
9.0.3 1,069,996 a month ago
9.0.2 1,494,523 2 months ago
9.0.1 1,658,867 3 months ago
9.0.0 3,370,561 5 months ago
9.0.0-rc.2.24474.1 79,310 6 months ago
9.0.0-rc.1.24451.1 41,520 7 months ago
9.0.0-preview.7.24405.3 21,645 8 months ago
9.0.0-preview.6.24327.4 21,745 9 months ago
9.0.0-preview.5.24306.3 14,233 6/11/2024
9.0.0-preview.4.24267.1 16,920 5/21/2024
9.0.0-preview.3.24172.4 107,630 4/11/2024
9.0.0-preview.2.24128.4 26,653 3/12/2024
9.0.0-preview.1.24081.2 44,419 2/13/2024
8.0.15 105,550 15 days ago
8.0.14 456,942 a month ago
8.0.13 685,513 2 months ago
8.0.12 946,515 3 months ago
8.0.11 3,600,563 5 months ago
8.0.10 6,563,930 6 months ago
8.0.8 7,924,878 8 months ago
8.0.7 5,073,729 9 months ago
8.0.6 5,836,004 5/28/2024
8.0.5 2,240,222 5/14/2024
8.0.4 6,020,238 4/9/2024
8.0.3 4,063,421 3/12/2024
8.0.2 5,110,599 2/13/2024
8.0.1 4,262,049 1/9/2024
8.0.0 6,043,587 11/14/2023
8.0.0-rc.2.23480.1 73,163 10/10/2023
8.0.0-rc.1.23419.6 39,090 9/12/2023
8.0.0-preview.7.23375.4 30,926 8/8/2023
8.0.0-preview.6.23329.4 43,180 7/11/2023
8.0.0-preview.5.23280.1 52,612 6/13/2023
8.0.0-preview.4.23259.3 37,306 5/16/2023
8.0.0-preview.3.23174.2 67,715 4/11/2023
8.0.0-preview.2.23128.3 36,484 3/14/2023
8.0.0-preview.1.23111.4 78,172 2/21/2023
7.0.20 1,032,095 5/28/2024
7.0.19 178,382 5/14/2024
7.0.18 509,140 4/9/2024
7.0.17 423,669 3/12/2024
7.0.16 584,659 2/13/2024
7.0.15 887,217 1/9/2024
7.0.14 1,877,710 11/14/2023
7.0.13 2,153,794 10/24/2023
7.0.12 1,636,426 10/10/2023
7.0.11 3,531,544 9/12/2023
7.0.10 3,403,783 8/8/2023
7.0.9 2,726,999 7/11/2023
7.0.8 2,291,087 6/22/2023
7.0.7 1,082,403 6/13/2023
7.0.5 7,264,062 4/11/2023
7.0.4 3,267,521 3/14/2023
7.0.3 4,034,149 2/14/2023
7.0.2 4,985,884 1/10/2023
7.0.1 2,958,434 12/13/2022
7.0.0 3,667,044 11/7/2022
7.0.0-rc.2.22472.11 79,103 10/11/2022
7.0.0-rc.1.22426.7 35,848 9/14/2022
7.0.0-preview.7.22376.2 31,809 8/9/2022
7.0.0-preview.6.22329.4 24,241 7/12/2022
7.0.0-preview.5.22302.2 21,287 6/14/2022
7.0.0-preview.4.22229.2 27,061 5/10/2022
7.0.0-preview.3.22175.1 42,645 4/13/2022
7.0.0-preview.2.22153.1 17,325 3/14/2022
7.0.0-preview.1.22076.6 13,893 2/17/2022
6.0.36 253,509 5 months ago
6.0.35 169,720 6 months ago
6.0.33 321,168 8 months ago
6.0.32 211,034 9 months ago
6.0.31 288,422 5/28/2024
6.0.30 167,769 5/14/2024
6.0.29 529,971 4/9/2024
6.0.28 522,072 3/12/2024
6.0.27 525,521 2/13/2024
6.0.26 707,136 1/9/2024
6.0.25 1,088,606 11/14/2023
6.0.24 514,005 10/24/2023
6.0.23 474,388 10/10/2023
6.0.22 1,020,236 9/12/2023
6.0.21 1,048,757 8/8/2023
6.0.20 1,024,817 7/11/2023
6.0.19 643,398 6/22/2023
6.0.18 461,800 6/13/2023
6.0.16 2,442,097 4/11/2023
6.0.15 1,276,803 3/14/2023
6.0.14 1,682,405 2/14/2023
6.0.13 2,366,198 1/10/2023
6.0.12 2,085,714 12/13/2022
6.0.11 3,287,491 11/7/2022
6.0.10 5,823,544 10/11/2022
6.0.9 4,994,392 9/13/2022
6.0.8 6,515,652 8/9/2022
6.0.7 6,381,107 7/12/2022
6.0.6 3,969,593 6/14/2022
6.0.5 6,223,059 5/10/2022
6.0.4 4,639,956 4/11/2022
6.0.3 5,200,595 3/8/2022
6.0.2 4,309,806 2/8/2022
6.0.1 6,984,700 12/14/2021
6.0.0 7,545,800 11/8/2021
6.0.0-rc.2.21480.5 56,355 10/12/2021
6.0.0-rc.1.21452.10 58,376 9/14/2021
6.0.0-preview.7.21378.4 39,455 8/10/2021
6.0.0-preview.6.21352.1 20,264 7/14/2021
6.0.0-preview.5.21301.9 38,395 6/15/2021
6.0.0-preview.4.21253.1 20,054 5/24/2021
6.0.0-preview.3.21201.2 40,515 4/8/2021
6.0.0-preview.2.21154.2 14,855 3/11/2021
6.0.0-preview.1.21102.2 31,887 2/12/2021
5.0.17 2,452,178 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 451,342 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 719,052 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 910,328 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,433,858 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,679,434 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,160,642 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 3,972,890 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,259,448 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 3,079,330 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,525,793 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,723,686 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,715,036 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,561,335 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,452,674 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,488,614 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,291,899 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,493,768 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 71,191 10/13/2020
5.0.0-rc.1.20451.13 53,530 9/14/2020
5.0.0-preview.8.20407.4 34,058 8/25/2020
5.0.0-preview.7.20365.15 33,023 7/21/2020
5.0.0-preview.6.20312.4 32,622 6/25/2020
5.0.0-preview.5.20278.2 16,669 6/10/2020
5.0.0-preview.4.20220.10 26,830 5/18/2020
5.0.0-preview.3.20181.2 38,740 4/23/2020
5.0.0-preview.2.20159.4 26,561 4/2/2020
5.0.0-preview.2.20120.8 14,653 3/16/2020
3.1.32 990,284 12/13/2022
3.1.31 177,898 11/8/2022
3.1.30 227,033 10/11/2022
3.1.29 674,215 9/13/2022
3.1.28 146,498 8/9/2022
3.1.27 121,982 7/12/2022
3.1.26 166,688 6/14/2022
3.1.25 332,630 5/10/2022
3.1.24 161,870 4/11/2022
3.1.23 392,603 3/8/2022
3.1.22 921,513 12/14/2021
3.1.21 998,921 11/7/2021
3.1.20 342,938 10/11/2021
3.1.19 591,558 9/14/2021
3.1.18 894,502 8/10/2021
3.1.17 559,674 7/13/2021
3.1.16 594,618 6/8/2021
3.1.15 804,206 5/11/2021
3.1.14 985,555 4/6/2021
3.1.13 1,206,551 3/9/2021
3.1.12 1,054,057 2/9/2021
3.1.11 1,400,134 1/12/2021
3.1.10 2,347,762 11/9/2020
3.1.9 3,477,229 10/13/2020
3.1.8 5,156,490 9/8/2020
3.1.7 3,040,827 8/11/2020
3.1.6 3,507,887 7/14/2020
3.1.5 4,314,818 6/9/2020
3.1.4 4,271,558 5/12/2020
3.1.3 5,845,234 3/24/2020
3.1.2 4,168,750 2/19/2020
3.1.1 4,151,221 1/14/2020
3.1.0 4,531,926 12/3/2019
3.1.0-preview3.19554.8 38,199 11/13/2019
3.1.0-preview2.19525.5 15,763 11/1/2019
3.1.0-preview1.19506.2 798,374 10/15/2019
3.0.3 54,102 2/19/2020
3.0.2 33,107 1/14/2020
3.0.1 481,406 11/18/2019
3.0.0 4,606,710 9/23/2019
3.0.0-rc1.19456.14 22,976 9/16/2019
3.0.0-preview9.19423.6 39,325 9/4/2019
3.0.0-preview8.19405.11 43,335 8/13/2019
3.0.0-preview7.19362.6 30,715 7/23/2019
3.0.0-preview6.19304.10 39,763 6/12/2019
3.0.0-preview5.19227.1 48,536 5/6/2019
3.0.0-preview4.19216.3 9,289 4/18/2019
3.0.0-preview3.19153.1 29,995 3/6/2019
3.0.0-preview.19074.3 16,202 1/29/2019
3.0.0-preview.18572.1 14,770 12/3/2018
2.3.0 3,456 3 months ago
2.2.6 10,815,698 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,789,361 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,781,153 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,024,614 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,608,318 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 11,145,870 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 88,677 10/17/2018
2.2.0-preview2-35157 70,553 9/12/2018
2.2.0-preview1-35029 18,318 8/22/2018
2.1.14 2,079,465 11/18/2019
2.1.11 1,837,855 5/14/2019
2.1.8 2,225,992 2/12/2019
2.1.4 6,838,833 10/1/2018
2.1.3 3,225,498 9/11/2018
2.1.2 2,499,221 8/21/2018
2.1.1 12,032,401 6/18/2018
2.1.0 4,654,584 5/29/2018
2.1.0-rc1-final 52,032 5/6/2018
2.1.0-preview2-final 68,519 4/10/2018
2.1.0-preview1-final 205,602 2/26/2018
2.0.3 4,146,492 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,186,307 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,823,864 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,160,770 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 64,375 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 37,221 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 70,595 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 178,729 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 20,571 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 63,740 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 727,665 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 285,677 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 328,790 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 48,251 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 15,147 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 7,724 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 15,229 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 508,924 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 30,015 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,442 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 384,142 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 63,979 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 36,970 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 11,945 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 16,742 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.