Learn Entity Framework Core: https://www.learnentityframeworkcore.com/
Entity Framework Core Tutorial: https://entityframeworkcore.com/
Entity Framework 6 Tutorial: https://entityframework.net/
Info
Version: | 5.0.7 |
Author(s): | Ionut Neagos |
Last Update: | Wednesday, June 9, 2021 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/EFCore5.0.AutomaticMigrations |
Install
Install-Package EFCore5.0.AutomaticMigrations
dotnet add package EFCore5.0.AutomaticMigrations
paket add EFCore5.0.AutomaticMigrations
EFCore5.0.AutomaticMigrations Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.CodeAnalysis.CSharp(>= 3.8.0)
- Microsoft.EntityFrameworkCore.SqlServer(>= 5.0.0)
Tags
How to use:
MigrateDatabaseToLatestVersion.ExecuteAsync(context).Wait();
public class DbMigrationsOptions
{
public bool AutomaticMigrationDataLossAllowed { get; set; } = true;
public bool AutomaticMigrationsEnabled { get; set; } = true;
}.