Alex Maher
May 7, 2023

--

Hi Sebastien, you're right! EF Core will indeed use the parameterized constructor if it finds one, without the need to use the FromSqlRaw or FromSqlInterpolated methods.

Thank you for reading and pointing that out :) I will update that piece of article.

--

--

Alex Maher
Alex Maher

Written by Alex Maher

.NET C# dev with 10+ yrs exp, self-taught & passionate web developer. Sharing tips & experiences in C# and web dev.

No responses yet