DbContextScope
DbContextScope copied to clipboard
Moving to .Net Standard 2.0 & EF 2.0
Hi, Thanks for the great library. is there a plan to go to .Net Standard 2.0 & EF 2.0?
Regards.
+1
+2
I have added support for netstandard2.0 and EF Core 2.0.1
I PRed to the most up-to-date version of this repo I could find at tlcavert's fork.
Alternatively, you can just use my fork.
@VictorioBerra Thank you!
@VictorioBerra is your fork currently available in any form of public nuget package?
@jotatoledo It is not out there in a nuget package at the moment sorry, I think some code needs to be updated actually for the latest EF Core. For example: https://github.com/mehdime/DbContextScope/blob/master/Mehdime.Entity/Implementations/DbContextCollection.cs#L79
I dont think you can do this anymore, and instead must use one of the following options: https://docs.microsoft.com/en-us/ef/core/saving/transactions
+1!
based on @VictorioBerra post, I forked his repo and changed target framework to netstandard2.0
. Default ef core version is v2.0.0
. But it is compatible with v2.2.6
and v3.1.1
as well!
https://github.com/dojo90/DbContextScope
https://www.nuget.org/packages/DoJo.EntityFrameworkCore.DbContextScope