Answer by Brian Olson for EF Core in .NET Core library
Yes, you can do this.Make sure you have all the prerequisites installed.Create a .NET Core Console appCreate a Core Class library for Entity FrameworkReference the Class library from the Console...
View ArticleAnswer by Jan Paolo Go for EF Core in .NET Core library
As mentioned by the error, you need to implement IDesignTimeDbContextFactory which is part of the Microsoft.EntityFrameworkCore.Design package so go ahead and install that in your library. Then create...
View ArticleEF Core in .NET Core library
The main idea is to add a EF Core nuget package to a .NET Core library project and then use that library in a bunch of applications (e.g., ASP.NET Core, Win Service, Console App) without configuring EF...
View Article