Skip to content

MilosTanaskovic/DevSpot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevSpot

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

Entity Framework Core – Package Manager Console (PMC) Commands

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors