用于在程序启动时迁移数据库: host.TryMigrateDb<TestDataContext>(app);.
Learn Entity Framework Core: https://www.learnentityframeworkcore.com/
Entity Framework Core Tutorial: https://entityframeworkcore.com/
Entity Framework 6 Tutorial: https://entityframework.net/
Info
Version: | 0.0.2 |
Author(s): | NXHub |
Last Update: | Tuesday, July 7, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/nxhub/EFCoreExtensions |
NuGet Url: | https://www.nuget.org/packages/NXHub.EntityFrameworkCore.Migrate |
Install
Install-Package NXHub.EntityFrameworkCore.Migrate
dotnet add package NXHub.EntityFrameworkCore.Migrate
paket add NXHub.EntityFrameworkCore.Migrate
NXHub.EntityFrameworkCore.Migrate Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Http.Abstractions(>= 2.2.0)
- Microsoft.EntityFrameworkCore.Relational(>= 3.1.4)
- Microsoft.Extensions.Hosting.Abstractions(>= 3.1.4)
Tags