✅ Issues with method not being available
Hello, I'm running latest version of .NET and latest version of EF Core and i'm trying to use bulk operations.
https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-7.0/whatsnew#executeupdate-and-executedelete-bulk-updates
The issue arrives when I try to call one of the new functions, they are not present in the definitions.
Am I doing something wrong?
What's New in EF Core 7.0
Overview of new features in EF Core 7.0
19 Replies
I'm using rider running on linux
your
dotnet --version
isn't relevant to what version your project is using
show your .csproj file instead
@barcode
sorry went to take some food
7.0.9 ef core, .net 7.0
okay, thats fine.
showe your
usings
in the file you are trying to use the methods in
you need the using Microsoft.EntityFrameworkCore;
to show those extensionsit's included
maybe it is because i am using postgres? but I checked their site and it says supported
are all the projects in the dependency-chain using EF 7.x?
it shouldn't be pinning to 6, but it could
nah postgre should be fine
Yes, all use same version
I made sure to update them all from 7.0.5 to 7.0.9 while i was trying to debug this
hm okay
my sample app also uses 7.0.9 and it works fine, also in Rider
oh good idea
let me try to create a new project
👍
and see if it detects
sec
could u give me the source if it is a 1 pager
its not. its a console app with a business dispatcher, migrations, configurations and stuff :p
👍 create a new test
creating*
mediator cool i like
specifically the source-gen version 🙂
😮
i will debug more, will find thei ssue
was missing .Relational in my Application layer 😄
Great 🙂