0

I have a project with .NET Core 3.1 that worked with Oracle DB which uses these libraries:

Microsoft.EntityFrameworkCore               v5.0.12
Microsoft.EntityFrameworkCore.Design        v5.0.12
Microsoft.EntityFrameworkCore.Relational    v5.0.12
Microsoft.EntityFrameworkCore.SqlServer     v3.1.21
Microsoft.EntityFrameworkCore.Tools         v5.0.12
Oracle.EntityFrameworkCore                  v5.21.4

My Context.DataBase does not have an ExecuteSqlRaw function

Also, inside the model, it does not have the function of the FromSqlRaw:

enter image description here

Why can't I access the ExecuteSqlRaw function?

1 Answer 1

1

I updated Visual Studio 2018 to Visual Studio 2022 and the problem was solved. enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.