How not to pass parameters in Entity Framework Core 5
26 wrz 2020 | Blog | ASP.NET Core for .NET 5 & EF Core 5 | ef core 5 | IT
Recently I wrote a post about executing raw SQL scripts in Entity Framework Core 5: Executing raw SQL with Entity Framework Core 5. One of the readers noticed that I did a big mistake when passing parameters. Let’s take a closed look. I had code like this: [crayon-5f79fc7a2d710735127044/] This method updates profiles Country to Poland, where… Continue reading How not to pass parameters in Entity Framework Core 5