Code: Select all
System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Unhandled exception</Description><AppDomain>WebApplication2.exe</AppDomain><Exception><ExceptionType>System.TypeLoadException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Method 'VisitCase' in type '' from assembly 'Devart.Data.Oracle.Entity.EFCore, Version=9.6.646.0, Culture=neutral, PublicKeyToken=09af7300eec23701' does not have an implementation.</Message><StackTrace> at  ..ctor()
at  ..ctor(EntityQueryModelVisitorDependencies , RelationalQueryModelVisitorDependencies , RelationalQueryCompilationContext , RelationalQueryModelVisitor ,  )
at  ..ctor(EntityQueryModelVisitorDependencies , RelationalQueryModelVisitorDependencies , RelationalQueryCompilationContext , RelationalQueryModelVisitor ,  )
at  .Create(QueryCompilationContext , EntityQueryModelVisitor )
at Microsoft.EntityFrameworkCore.Query.QueryCompilationContext.CreateQueryModelVisitor(EntityQueryModelVisitor parentEntityQueryModelVisitor)
at Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext.CreateQueryModelVisitor(EntityQueryModelVisitor parentEntityQueryModelVisitor)
at Microsoft.EntityFrameworkCore.Query.QueryCompilationContext.CreateQueryModelVisitor()
at Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext.CreateQueryModelVisitor()
at Microsoft.EntityFrameworkCore.Storage.Database.CompileQuery[TResult](QueryModel queryModel)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.CompileQueryCore[TResult](Expression query, IQueryModelGenerator queryModelGenerator, IDatabase database, IDiagnosticsLogger`1 logger, Type contextType)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.&lt;&gt;c__DisplayClass13_0`1.&lt;Execute&gt;b__0()
at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQueryCore[TFunc](Object cacheKey, Func`1 compiler)
at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQuery[TResult](Object cacheKey, Func`1 compiler)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at Remotion.Linq.QueryableBase`1.GetEnumerator()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Collections.Generic.IEnumerable&lt;TEntity&gt;.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at WebApplication2.Program.Main(String[] args) in C:\Users\banderson\source\repos\WebApplication2\WebApplication2\Program.cs:line 25</StackTrace><ExceptionString>System.TypeLoadException: Method 'VisitCase' in type '' from assembly 'Devart.Data.Oracle.Entity.EFCore, Version=9.6.646.0, Culture=neutral, PublicKeyToken=09af7300eec23701' does not have an implementation.
at  ..ctor()
at  ..ctor(EntityQueryModelVisitorDependencies , RelationalQueryModelVisitorDependencies , RelationalQueryCompilationContext , RelationalQueryModelVisitor ,  )
at  ..ctor(EntityQueryModelVisitorDependencies , RelationalQueryModelVisitorDependencies , RelationalQueryCompilationContext , RelationalQueryModelVisitor ,  )
at  .Create(QueryCompilationContext , EntityQueryModelVisitor )
at Microsoft.EntityFrameworkCore.Query.QueryCompilationContext.CreateQueryModelVisitor(EntityQueryModelVisitor parentEntityQueryModelVisitor)
at Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext.CreateQueryModelVisitor(EntityQueryModelVisitor parentEntityQueryModelVisitor)
at Microsoft.EntityFrameworkCore.Query.QueryCompilationContext.CreateQueryModelVisitor()
at Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContext.CreateQueryModelVisitor()
at Microsoft.EntityFrameworkCore.Storage.Database.CompileQuery[TResult](QueryModel queryModel)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.CompileQueryCore[TResult](Expression query, IQueryModelGenerator queryModelGenerator, IDatabase database, IDiagnosticsLogger`1 logger, Type contextType)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.&lt;&gt;c__DisplayClass13_0`1.&lt;Execute&gt;b__0()
at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQueryCore[TFunc](Object cacheKey, Func`1 compiler)
at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQuery[TResult](Object cacheKey, Func`1 compiler)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at Remotion.Linq.QueryableBase`1.GetEnumerator()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Collections.Generic.IEnumerable&lt;TEntity&gt;.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at WebApplication2.Program.Main(String[] args) in C:\Users\banderson\source\repos\WebApplication2\WebApplication2\Program.cs:line 25</ExceptionString></Exception></TraceRecord>
An unhandled exception of type 'System.TypeLoadException' occurred in mscorlib.dll
Method 'VisitCase' in type '' from assembly 'Devart.Data.Oracle.Entity.EFCore, Version=9.6.646.0, Culture=neutral, PublicKeyToken=09af7300eec23701' does not have an implementation.