I want to create the models in entity framework core from existing oracle database , I installed the required packages for oracle database which is :
Oracle.EntityFrameworkCore
Oracle.ManagedDataAccess.Core
Microsoft.EntityFrameworkCore.Tools (to use Scaffold-DbContext command)
Then when I used the following command to create the tables from database to Models folder I got this error :
PM> Scaffold-DbContext "User Id=trng;Password=fhir;Data Source=caredb:1521/care;"
-Provider Microsoft.EntityFrameworkCore.UseOracle
-OutputDir Models
-Context FHIRDBContext
-Tables APPT_CLINICS
Build started...
Build succeeded.
Unable to find provider assembly 'Microsoft.EntityFrameworkCore.UseOracle'. Ensure the name is correct and it's referenced by the project.
what is the correct provider for Oracle database ?