December 29, 2024

EF Core 9.0: Introducing EF.Parameter(T)

In this post, let’s have a look EF.Parameter<T>(T) method that was introduced with EF 9.0. Consider the following simple LINQ query. async Task<List<Employee>> GetEmployees(int employeeId){    return await context.Employees        .Where(e => e.Id ==