I am working on a project (Visual Studio 2015 update 3) where I am using Entity framework core with MySQL. I am able to write to data to my database, but when trying to query data using
FirstOrDefault I get this exception:
An exception of type 'System.MissingMethodException' occurred in System.Private.CoreLib.ni.dll but was not handled in user code
Additional information: Method not found: 'Void Microsoft.EntityFrameworkCore.Query.QueryContextFactory..ctor(Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager, Microsoft.EntityFrameworkCore.Internal.IConcurrencyDetector, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IChangeDetector)'
I tried to update all the packages from NuGet packages manager, with no success. This question may apear like semi duplicate, but it is NOT, no solution worked for me. Any ideas? Thanks in advance!
OK it seems to be a bug in MySQL -> entity framework adapter
MySql.Data.EntityFrameworkCore. I downgraded from
6.10.1-beta and everything works fine now!