error install Package

RRana3/13/2023
Image
Ccircles.png3/13/2023
upgrade to net 6?
Ssn0wgirl_973/13/2023
or maybe use Oracle.ManagedDataAccess.Core
RRana3/13/2023
i use Oracle.ManagedDataAccess.core
RRana3/13/2023
look
RRana3/13/2023
Image
RRana3/13/2023
why error here ?
Ssn0wgirl_973/13/2023
I don't see the Oracle.ManagedDataAccess.Core
RRana3/13/2023
Image
RRana3/13/2023
Image
Ssn0wgirl_973/13/2023
hover over the UseOracle, what does VS suggest
Ssn0wgirl_973/13/2023
or press ctrl + dot
RRana3/13/2023
nothing
RRana3/13/2023
Image
DDeno3/13/2023
And when you click the UseOracle, does a lightbulb appear on the left, next to the line number?
RRana3/13/2023
no
RRana3/13/2023
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="EntityFramework" Version="6.4.4" />
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.3" />
    <PackageReference Include="Oracle.ManagedDataAccess.Core" Version="3.21.50" />
    <PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
    <PackageReference Include="Swashbuckle.AspNetCore.Swagger" Version="6.5.0" />
    <PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.5.0" />
    <PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.5.0" />
  </ItemGroup>

</Project>
Ssn0wgirl_973/13/2023
shouldn't that entityframework be entityframeworkcore
Ssn0wgirl_973/13/2023
oh, you have 2
RRana3/13/2023
i remove this line <PackageReference Include="EntityFramework" Version="6.4.4" />
the same error
RRana3/13/2023
Image
RRana3/13/2023
i use oracle , why oracle not in description ?
Ttebeco3/13/2023
is description of what ?
RRana3/13/2023
here
Ttebeco3/13/2023
because that's EFCore
Ttebeco3/13/2023
"and other databases"
Ttebeco3/13/2023
that package is not about Oracle
Ttebeco3/13/2023
it's about EFcore only
Ttebeco3/13/2023
that's the abstraction
RRana3/13/2023
i re-install EntityFrameworkCore , the same error
Ttebeco3/13/2023
it's unrelated
Ttebeco3/13/2023
EFCore is only EFCore
Ttebeco3/13/2023
you need a Provider for Oracle ASIDE the EFCore package
RRana3/13/2023
UseOracle method in Micrososft.EntityFrameWorkCore
Ttebeco3/13/2023
the abstraction pacakge for EFCore don't ghive a shit about Oracle
Ttebeco3/13/2023
or MSSQL or Postgre
Ttebeco3/13/2023
you need to look for Oracle documentation
Ttebeco3/13/2023
and find what they officially tell you to do
Ttebeco3/13/2023
blame them for their lack of documentation
RRana3/13/2023
i need soultion i search many many times in internet , the last one is come here ~
Ttebeco3/13/2023
sure sure
Ttebeco3/13/2023
their docs is the official site on internet
RRana3/13/2023
you have solution to my problem ?
RRana3/13/2023
if no please go out !!
Ttebeco3/13/2023
did you opened their website ?
Ttebeco3/13/2023
oracle
RRana3/13/2023
yes
RRana3/13/2023
and search many times
Ttebeco3/13/2023
ok
Ttebeco3/13/2023
what is the package name on tjeir site they tell you to install ?
RRana3/13/2023
Oracle.ManagedDataAccess.Core
RRana3/13/2023
and Microsoft.EntityFrameworkCore
Ttebeco3/13/2023
can you show me that link on the docs that mention Oracle.ManagedDataAccess.Core ?
Ttebeco3/13/2023
because i'm seing something interstingly different
Ttebeco3/13/2023
and it's definitly not Oracle.ManagedDataAccess.Core
Ttebeco3/13/2023
their docs have a link to their sample
Ttebeco3/13/2023
with a link to the nuget package
Ttebeco3/13/2023
which i think is the solution
Ttebeco3/13/2023
so yes to that question
Ttebeco3/13/2023
their docs
RRana3/13/2023
i know the code !!
RRana3/13/2023
my code is correct !
Ttebeco3/13/2023
open the readme
RRana3/13/2023
bro thx for your help
Ttebeco3/13/2023
please
Ttebeco3/13/2023
FFS
Ttebeco3/13/2023
read the page
Ttebeco3/13/2023
Image
Ttebeco3/13/2023
Image
Ttebeco3/13/2023
Image
Ttebeco3/13/2023
NOT Oracle.ManagedDataAccess.Core
Ssn0wgirl_973/13/2023
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.3" />
<PackageReference Include="Oracle.EntityFrameworkCore" Version="7.21.9" />
Ttebeco3/13/2023
Image
Ttebeco3/13/2023
you're too kind ... i was gonna drop everything if op wasn't rude
Ssn0wgirl_973/13/2023
sometimes
Ttebeco3/13/2023
also don't use version 7.21.9
RRana3/13/2023
where i write it ?
Ttebeco3/13/2023
because it's done for EFcore 7
Ttebeco3/13/2023
with the other package refeerence you said you had
RRana3/13/2023
what version i use ?
Ttebeco3/13/2023
lastest 6th
RRana3/13/2023
like this ?
Image
Ttebeco3/13/2023
same for EFCore
you can't use anything 7
RRana3/13/2023
Image
RRana3/13/2023
i have new problem
Ttebeco3/13/2023
did you just read my message above ?
RRana3/13/2023
which one ?
Ttebeco3/13/2023
the few one that I keep reposting
Ttebeco3/13/2023
Image
Ttebeco3/13/2023
Image
Ttebeco3/13/2023
which you still did
RRana3/13/2023
i uese it look
Ttebeco3/13/2023
Image
Ttebeco3/13/2023
which you have that exact error