EF Core Issue

EF Core Issue

Postby davisd30 » Mon 23 Oct 2017 17:08

I have created an efml in a new project and when I try to actually do a query against a table, I get the following error:

Method 'Clone' in type 'Devart.Data.Oracle.Entity.OracleOptionsExtension' from assembly 'Devart.Data.Oracle.Entity.EFCore, Version=9.4.348.0, Culture=neutral, PublicKeyToken=09af7300eec23701' does not have an implementation.

For info, this is the query:

Code: Select all
using (var context = new dataModel()) {
return context.TABLENAME.Where(x => x.TableField >= 0).ToList();
}


I have installed the nuget packages and I have the latest dotConnect for Oracle installed on my machine. Any help with this would be appreciated.
davisd30
 
Posts: 3
Joined: Fri 08 Jul 2016 15:04

Re: EF Core Issue

Postby Shalex » Tue 24 Oct 2017 08:01

dotConnect for Oracle supports only EF Core 1.1.2 at the moment. We will notify you when EF Core 2.0 and .NET Core 2.0 are supported.

As a temporary workaround, please use EF Core 1.1.2:
PM> install-package Microsoft.EntityFrameworkCore.Relational -version 1.1.2
Shalex
Devart Team
 
Posts: 7789
Joined: Thu 14 Aug 2008 12:44

Re: EF Core Issue

Postby Shalex » Mon 30 Oct 2017 20:19

.NET Core 2.0 and EF Core 2.0 are supported: http://forums.devart.com/viewtopic.php?f=1&t=36128.

Be aware that starting from Entity Framework Core 2.0 the Scaffold-DbContext functionality (Devart.Data.Oracle.EFCore.Design.dll) is included in the Devart.Data.Oracle.EFCore package.
Shalex
Devart Team
 
Posts: 7789
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle