I'm working on my first .NET 6 project and I'm using EF to run an inline query and creating a list of objects. However, I don't have .ToList() as an option; I only have .ToListAsync(). From doing a little research is looks like .ToList should still be available so I'm not sure what I'm missing.
This is what I have installed:
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="6.0.1" />
<PackageReference Include="NLog.Web.AspNetCore" Version="4.14.0" />
<PackageReference Include="Oracle.EntityFrameworkCore" Version="6.21.5" />
</ItemGroup>