Have you ever needed to handle accents in SQL?
If you are Latin, you have certainly done it many times.
And how does it work in EF Core?
It’s easy, you just have to use EF.Functions.Collate!
Warning: Overriding case-sensitivity in a query via
EF.Functions.Collate(or by callingstring.ToLower) can have a very significant impact on your application’s performance.
👉 Adapted from my original post on LinkedIn .
