EF Core
Posted: Thu 19 Oct 2017 17:58
I am trying to create DbContextOptions<TContext> using the DbContextOptionsBuilder.
When I invoke a method which then invokes builder.UseOracle I am receiving the following error:
System.TypeLoadException: '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.'
I have installed dot Connect for Oracle Pro v9.4.348.0
and I have the following nugget packages:
Devart.Data.Oracle.EFCore v9.4.348
Devart.Data.Oracle v9.4.348
Microsoft.EntityFrameworkCore v2.0.0
I tried uninstalling + reinstalling all do connect software and packages but any attempt to use code invoking builder.UseOracle results in System.TypeLoadException being thrown.
Has anyone else experienced this issue? My .NET Solution compiles and runs but trying to connect to oracle database via the EF Core is failing.
When I invoke a method which then invokes builder.UseOracle I am receiving the following error:
System.TypeLoadException: '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.'
I have installed dot Connect for Oracle Pro v9.4.348.0
and I have the following nugget packages:
Devart.Data.Oracle.EFCore v9.4.348
Devart.Data.Oracle v9.4.348
Microsoft.EntityFrameworkCore v2.0.0
I tried uninstalling + reinstalling all do connect software and packages but any attempt to use code invoking builder.UseOracle results in System.TypeLoadException being thrown.
Has anyone else experienced this issue? My .NET Solution compiles and runs but trying to connect to oracle database via the EF Core is failing.