Skip to content

ShriLingam23/ProductMicroservice

Repository files navigation

ProductMicroservice

alt text

Entity Framework Core Migrations

Migrations allow us to provide code to change the database from one version to another. Inorder to this install Microsoft.EntityFrameworkCore.Tools.

  1. Inorder to create a Migration File execute following command in the Package Manager
> Add-Migration <AnyMeaningfulName>

2.Later to apply migrations to the current database where we point in appsetting.json

> Update-Database

Reference : https://www.c-sharpcorner.com/article/microservice-using-asp-net-core/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published