EfCoreTemporalTable icon indicating copy to clipboard operation
EfCoreTemporalTable copied to clipboard

Working with EF Core 3.1 DBContextFactory?

Open keithnicholson opened this issue 4 years ago • 0 comments

I am attempting to use this with Blazor in .Net Core 3.1. One of the new features in EF Core 5 is the DBContextFactory that the 5.0 version of this control uses. There is documentation with MS on how to create this service, extension, etc. However, my attempt to use it with this library fails.

Have you given it a try yet?

Here are a couple of references in generating it:

https://stackoverflow.com/questions/63936399/how-to-create-a-dbcontextfactory-in-netcore-3-1-blazor

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/common/samples/3.x/BlazorServerEFCoreSample/BlazorServerDbContextExample/Data/FactoryExtensions.cs#L22-L41

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/common/samples/3.x/BlazorServerEFCoreSample/BlazorServerDbContextExample/Data/DbContextFactory.cs#L7-L27

keithnicholson avatar May 20 '21 02:05 keithnicholson