question

SnehaVellanki-2629 avatar image
0 Votes"
SnehaVellanki-2629 asked Bruce-SqlWork answered

Does Enity Framework6 works with .NetCore 3.1

We have an application that is on .Net Framework 4.7 and using EF6 to connect to Oracle DB . We are trying to convert the entire application to .Net Core 3.1 but thinking to keep EF6 .

Is it possible to work with Oracle database using EF6 with the target framework as .Net Core 3.1 ?

dotnet-aspnet-core-mvcdotnet-entity-framework
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

cooldadtx avatar image
1 Vote"
cooldadtx answered cooldadtx edited

Yes but there are issues. EF 6.3 supports working with .NET Core as a migration solution only. It is not designed to be the long term solution but rather an intermediary step on the way to EF Core. Refer to the blog article here and pay special attention to the things that won't work.

I should point out that Oracle supports .NET Core so if that is the only rationale then move to EF Core and optionally Oracle Managed Driver for .NET Core.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered

EF 6 was ported to .netstandard 2.1 to make it compatible with .net core applications. But to use with .net core you need a .netstandard 2.0 or 2.1 compatible driver for your provider.

Check if oracle every made a .netstandard 2.0 driver.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.