Microsoft.EntityFrameworkCore.Tools 9.0.0-rc.2.24474.1

Prefix Reserved
This is a prerelease version of Microsoft.EntityFrameworkCore.Tools.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.EntityFrameworkCore.Tools --version 9.0.0-rc.2.24474.1
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 9.0.0-rc.2.24474.1
                    
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.0-rc.2.24474.1">
  <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.0-rc.2.24474.1" />
                    
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.0-rc.2.24474.1
                    
#r "nuget: Microsoft.EntityFrameworkCore.Tools, 9.0.0-rc.2.24474.1"
                    
#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.0-rc.2.24474.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.Tools&version=9.0.0-rc.2.24474.1&prerelease
                    
Install 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 (302)

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并发优化

ImmediaC.SimpleCms

ASP.NET Core based CMS

StatisticManagers-CMS

Page Display Auth Process

GitHub repositories (543)

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.
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
Version Downloads Last Updated
10.0.0-preview.5.25277.114 7,215 6/6/2025
10.0.0-preview.4.25258.110 7,924 5/12/2025
10.0.0-preview.3.25171.6 12,146 4/10/2025
10.0.0-preview.2.25163.8 11,624 3/18/2025
10.0.0-preview.1.25081.1 10,823 2/25/2025
9.0.6 749,910 6/10/2025
9.0.5 1,323,597 5/13/2025
9.0.4 2,083,684 4/8/2025
9.0.3 2,052,758 3/11/2025
9.0.2 2,280,889 2/11/2025
9.0.1 2,350,173 1/14/2025
9.0.0 4,401,278 11/12/2024
9.0.0-rc.2.24474.1 87,757 10/8/2024
9.0.0-rc.1.24451.1 45,087 9/10/2024
9.0.0-preview.7.24405.3 23,073 8/13/2024
9.0.0-preview.6.24327.4 23,240 7/9/2024
9.0.0-preview.5.24306.3 15,340 6/11/2024
9.0.0-preview.4.24267.1 18,903 5/21/2024
9.0.0-preview.3.24172.4 109,794 4/11/2024
9.0.0-preview.2.24128.4 28,979 3/12/2024
9.0.0-preview.1.24081.2 47,333 2/13/2024
8.0.17 211,161 6/10/2025
8.0.16 466,709 5/13/2025
8.0.15 729,424 4/8/2025
8.0.14 1,019,411 3/11/2025
8.0.13 1,160,416 2/11/2025
8.0.12 1,428,534 1/14/2025
8.0.11 4,998,881 11/12/2024
8.0.10 8,153,975 10/8/2024
8.0.8 9,326,799 8/13/2024
8.0.7 5,882,338 7/9/2024
8.0.6 6,661,056 5/28/2024
8.0.5 2,555,919 5/14/2024
8.0.4 6,801,013 4/9/2024
8.0.3 4,492,639 3/12/2024
8.0.2 5,647,753 2/13/2024
8.0.1 4,627,322 1/9/2024
8.0.0 6,739,937 11/14/2023
8.0.0-rc.2.23480.1 74,240 10/10/2023
8.0.0-rc.1.23419.6 40,059 9/12/2023
8.0.0-preview.7.23375.4 31,377 8/8/2023
8.0.0-preview.6.23329.4 44,076 7/11/2023
8.0.0-preview.5.23280.1 61,825 6/13/2023
8.0.0-preview.4.23259.3 38,957 5/16/2023
8.0.0-preview.3.23174.2 71,170 4/11/2023
8.0.0-preview.2.23128.3 37,159 3/14/2023
8.0.0-preview.1.23111.4 78,746 2/21/2023
7.0.20 1,281,371 5/28/2024
7.0.19 195,089 5/14/2024
7.0.18 555,938 4/9/2024
7.0.17 455,091 3/12/2024
7.0.16 621,083 2/13/2024
7.0.15 936,304 1/9/2024
7.0.14 1,983,089 11/14/2023
7.0.13 2,226,022 10/24/2023
7.0.12 1,686,831 10/10/2023
7.0.11 3,772,482 9/12/2023
7.0.10 3,541,788 8/8/2023
7.0.9 2,828,466 7/11/2023
7.0.8 2,403,712 6/22/2023
7.0.7 1,118,596 6/13/2023
7.0.5 7,501,008 4/11/2023
7.0.4 3,362,956 3/14/2023
7.0.3 4,151,063 2/14/2023
7.0.2 5,238,906 1/10/2023
7.0.1 3,058,357 12/13/2022
7.0.0 3,772,924 11/7/2022
7.0.0-rc.2.22472.11 82,496 10/11/2022
7.0.0-rc.1.22426.7 36,413 9/14/2022
7.0.0-preview.7.22376.2 32,211 8/9/2022
7.0.0-preview.6.22329.4 24,464 7/12/2022
7.0.0-preview.5.22302.2 21,553 6/14/2022
7.0.0-preview.4.22229.2 27,411 5/10/2022
7.0.0-preview.3.22175.1 42,811 4/13/2022
7.0.0-preview.2.22153.1 17,447 3/14/2022
7.0.0-preview.1.22076.6 14,063 2/17/2022
6.0.36 403,664 11/12/2024
6.0.35 205,925 10/8/2024
6.0.33 355,876 8/13/2024
6.0.32 231,254 7/9/2024
6.0.31 315,372 5/28/2024
6.0.30 186,412 5/14/2024
6.0.29 577,096 4/9/2024
6.0.28 561,020 3/12/2024
6.0.27 562,410 2/13/2024
6.0.26 738,623 1/9/2024
6.0.25 1,146,207 11/14/2023
6.0.24 533,118 10/24/2023
6.0.23 490,975 10/10/2023
6.0.22 1,063,635 9/12/2023
6.0.21 1,097,471 8/8/2023
6.0.20 1,077,507 7/11/2023
6.0.19 665,979 6/22/2023
6.0.18 475,136 6/13/2023
6.0.16 2,559,863 4/11/2023
6.0.15 1,314,363 3/14/2023
6.0.14 1,732,586 2/14/2023
6.0.13 2,425,198 1/10/2023
6.0.12 2,161,337 12/13/2022
6.0.11 3,353,766 11/7/2022
6.0.10 5,969,796 10/11/2022
6.0.9 5,116,389 9/13/2022
6.0.8 6,658,044 8/9/2022
6.0.7 6,511,736 7/12/2022
6.0.6 4,080,477 6/14/2022
6.0.5 6,337,386 5/10/2022
6.0.4 4,733,493 4/11/2022
6.0.3 5,289,196 3/8/2022
6.0.2 4,400,811 2/8/2022
6.0.1 7,121,419 12/14/2021
6.0.0 7,763,535 11/8/2021
6.0.0-rc.2.21480.5 60,787 10/12/2021
6.0.0-rc.1.21452.10 60,443 9/14/2021
6.0.0-preview.7.21378.4 41,582 8/10/2021
6.0.0-preview.6.21352.1 20,643 7/14/2021
6.0.0-preview.5.21301.9 39,925 6/15/2021
6.0.0-preview.4.21253.1 24,163 5/24/2021
6.0.0-preview.3.21201.2 44,528 4/8/2021
6.0.0-preview.2.21154.2 16,524 3/11/2021
6.0.0-preview.1.21102.2 32,570 2/12/2021
5.0.17 2,556,344 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 457,870 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 730,119 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 916,722 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 1,461,263 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 1,704,496 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 3,212,631 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 4,047,977 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 3,323,161 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 3,135,029 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 3,586,020 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 2,777,892 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,790,845 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 2,614,612 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 2,490,672 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 2,522,003 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 2,340,341 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 3,591,159 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 72,317 10/13/2020
5.0.0-rc.1.20451.13 55,008 9/14/2020
5.0.0-preview.8.20407.4 34,176 8/25/2020
5.0.0-preview.7.20365.15 33,162 7/21/2020
5.0.0-preview.6.20312.4 32,786 6/25/2020
5.0.0-preview.5.20278.2 17,024 6/10/2020
5.0.0-preview.4.20220.10 27,085 5/18/2020
5.0.0-preview.3.20181.2 38,870 4/23/2020
5.0.0-preview.2.20159.4 26,727 4/2/2020
5.0.0-preview.2.20120.8 14,853 3/16/2020
3.1.32 1,090,985 12/13/2022
3.1.31 186,321 11/8/2022
3.1.30 236,564 10/11/2022
3.1.29 723,512 9/13/2022
3.1.28 151,287 8/9/2022
3.1.27 126,159 7/12/2022
3.1.26 172,288 6/14/2022
3.1.25 338,853 5/10/2022
3.1.24 163,963 4/11/2022
3.1.23 398,969 3/8/2022
3.1.22 948,545 12/14/2021
3.1.21 1,009,589 11/7/2021
3.1.20 349,688 10/11/2021
3.1.19 599,681 9/14/2021
3.1.18 908,416 8/10/2021
3.1.17 567,908 7/13/2021
3.1.16 602,875 6/8/2021
3.1.15 812,876 5/11/2021
3.1.14 1,001,348 4/6/2021
3.1.13 1,217,567 3/9/2021
3.1.12 1,060,211 2/9/2021
3.1.11 1,415,436 1/12/2021
3.1.10 2,372,983 11/9/2020
3.1.9 3,507,570 10/13/2020
3.1.8 5,197,264 9/8/2020
3.1.7 3,065,742 8/11/2020
3.1.6 3,548,207 7/14/2020
3.1.5 4,351,495 6/9/2020
3.1.4 4,337,263 5/12/2020
3.1.3 5,904,781 3/24/2020
3.1.2 4,196,916 2/19/2020
3.1.1 4,183,801 1/14/2020
3.1.0 4,576,310 12/3/2019
3.1.0-preview3.19554.8 38,607 11/13/2019
3.1.0-preview2.19525.5 15,915 11/1/2019
3.1.0-preview1.19506.2 810,350 10/15/2019
3.0.3 56,020 2/19/2020
3.0.2 33,713 1/14/2020
3.0.1 484,068 11/18/2019
3.0.0 4,652,169 9/23/2019
3.0.0-rc1.19456.14 23,097 9/16/2019
3.0.0-preview9.19423.6 39,477 9/4/2019
3.0.0-preview8.19405.11 43,531 8/13/2019
3.0.0-preview7.19362.6 30,887 7/23/2019
3.0.0-preview6.19304.10 39,869 6/12/2019
3.0.0-preview5.19227.1 49,104 5/6/2019
3.0.0-preview4.19216.3 9,377 4/18/2019
3.0.0-preview3.19153.1 30,234 3/6/2019
3.0.0-preview.19074.3 16,320 1/29/2019
3.0.0-preview.18572.1 14,894 12/3/2018
2.3.0 7,264 1/14/2025
2.2.6 10,939,244 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 5,820,994 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 1,787,348 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 2,036,546 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 2,621,423 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 11,311,470 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 88,891 10/17/2018
2.2.0-preview2-35157 73,028 9/12/2018
2.2.0-preview1-35029 18,459 8/22/2018
2.1.14 2,111,996 11/18/2019
2.1.11 1,844,409 5/14/2019
2.1.8 2,233,590 2/12/2019
2.1.4 6,861,222 10/1/2018
2.1.3 3,237,865 9/11/2018
2.1.2 2,514,349 8/21/2018
2.1.1 12,451,501 6/18/2018
2.1.0 4,678,874 5/29/2018
2.1.0-rc1-final 52,269 5/6/2018
2.1.0-preview2-final 68,940 4/10/2018
2.1.0-preview1-final 207,339 2/26/2018
2.0.3 4,191,911 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,218,640 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,892,392 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 7,218,018 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 64,741 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 37,383 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 72,190 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 179,530 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 20,836 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.2 63,999 9/20/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 733,852 5/9/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 287,523 3/6/2017 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview4-final 329,947 11/16/2016 1.1.0-preview4-final is deprecated because it is no longer maintained.
1.1.0-msbuild3-final 48,440 1/27/2017 1.1.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.3 15,364 11/14/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 7,884 9/20/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 15,409 5/9/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 555,492 3/6/2017 1.0.0 is deprecated because it is no longer maintained.
1.0.0-preview4-final 30,168 12/12/2016 1.0.0-preview4-final is deprecated because it is no longer maintained.
1.0.0-preview3-final 49,592 10/24/2016 1.0.0-preview3-final is deprecated because it is no longer maintained.
1.0.0-preview2-final 384,648 6/27/2016 1.0.0-preview2-final is deprecated because it is no longer maintained.
1.0.0-preview1-final 64,138 5/16/2016 1.0.0-preview1-final is deprecated because it is no longer maintained.
1.0.0-msbuild3-final 37,173 1/27/2017 1.0.0-msbuild3-final is deprecated because it is no longer maintained.
1.0.0-msbuild2-final 12,629 12/12/2016 1.0.0-msbuild2-final is deprecated because it is no longer maintained.
1.0.0-msbuild1-final 16,949 11/16/2016 1.0.0-msbuild1-final is deprecated because it is no longer maintained.