EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
BrentSEA
Posts: 1
Joined: Sat 15 Dec 2018 13:44

EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by BrentSEA » Sat 15 Dec 2018 13:52

going back to EF Core v2.1.4 works for now.

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 '&#x2;' from assembly 'Devart.Data.Oracle.Entity.EFCore, Version=9.6.646.0, Culture=neutral, PublicKeyToken=09af7300eec23701' does not have an implementation.</Message><StackTrace>   at &#xE; ..ctor()
   at &#xF; ..ctor(EntityQueryModelVisitorDependencies &#x2;, RelationalQueryModelVisitorDependencies &#x3;, RelationalQueryCompilationContext &#x5;, RelationalQueryModelVisitor &#x8;, &#x6;  &#x6;)
   at &#x2;  ..ctor(EntityQueryModelVisitorDependencies &#x2;, RelationalQueryModelVisitorDependencies &#x3;, RelationalQueryCompilationContext &#x5;, RelationalQueryModelVisitor &#x8;, &#x6;   &#x6;)
   at &#x3;  .Create(QueryCompilationContext &#x2;, EntityQueryModelVisitor &#x3;)
   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.&amp;lt;&amp;gt;c__DisplayClass13_0`1.&amp;lt;Execute&amp;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&amp;lt;TEntity&amp;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 '&#x2;' from assembly 'Devart.Data.Oracle.Entity.EFCore, Version=9.6.646.0, Culture=neutral, PublicKeyToken=09af7300eec23701' does not have an implementation.
   at &#xE; ..ctor()
   at &#xF; ..ctor(EntityQueryModelVisitorDependencies &#x2;, RelationalQueryModelVisitorDependencies &#x3;, RelationalQueryCompilationContext &#x5;, RelationalQueryModelVisitor &#x8;, &#x6;  &#x6;)
   at &#x2;  ..ctor(EntityQueryModelVisitorDependencies &#x2;, RelationalQueryModelVisitorDependencies &#x3;, RelationalQueryCompilationContext &#x5;, RelationalQueryModelVisitor &#x8;, &#x6;   &#x6;)
   at &#x3;  .Create(QueryCompilationContext &#x2;, EntityQueryModelVisitor &#x3;)
   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.&amp;lt;&amp;gt;c__DisplayClass13_0`1.&amp;lt;Execute&amp;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&amp;lt;TEntity&amp;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.

jpiquot
Posts: 1
Joined: Sun 16 Dec 2018 15:52

Re: EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by jpiquot » Sun 16 Dec 2018 15:55

Hi,

I have exactly the same issue on 2.2.0 but everything is OK on 2.1.4.

Regards,
Jérôme

jferreira
Posts: 1
Joined: Mon 14 May 2018 09:25

Re: EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by jferreira » Sun 16 Dec 2018 18:16

Hi,

Also having the same issue. Anyone knows when support for ef core 2.2 will come out?

Thank you!


powelphu
Posts: 4
Joined: Thu 26 Apr 2018 08:29

Re: EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by powelphu » Mon 17 Dec 2018 15:24

Same error, using Devart.Data.Oracle.EFCore 9.6.646. This is critical for us so would be great if a devart-offical could say something about it.

rhuijben
Posts: 3
Joined: Fri 07 Sep 2018 07:33

Re: EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by rhuijben » Tue 18 Dec 2018 11:32

Same here. Didn't have this issue with the prereleases.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by Shalex » Tue 18 Dec 2018 18:16

Entity Framework Core 2.2 is supported. The internal build with the fix: http://www.devart.com/pub/nuget_oracle_9_6_659.zip.

ionrobu
Posts: 1
Joined: Sat 22 Dec 2018 12:08

Re: EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by ionrobu » Sat 22 Dec 2018 12:10

Great news,
I have the same problem. Do you have an estimated date for uploading the package to nuget?
Thanks!
Ion

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by Shalex » Mon 24 Dec 2018 12:35

An approximate timeframe for the new public build is two weeks.

powelphu
Posts: 4
Joined: Thu 26 Apr 2018 08:29

Re: EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by powelphu » Tue 08 Jan 2019 13:33

Still waiting for a public release of this. Currently, I have the packages you linked to added to our internal NuGet repository.

Thomasdc
Posts: 12
Joined: Sat 07 Jul 2018 14:20

Re: EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by Thomasdc » Wed 09 Jan 2019 08:36

Also waiting for a public release. In the meantime, I can confirm that the prerelease version of 9.6.659 indeed works as expected.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: EF Core 2.2.0, Oracle Error - VisitCase in Devart.Data.Oracle.Entity.EFCore does not have implementation

Post by Shalex » Thu 10 Jan 2019 19:29

Entity Framework Core 2.2.1 is supported: viewtopic.php?f=1&t=38262.

Post Reply