Entity Framework 6 had a way to register SQL Server Built-in Function with [DbFunction] attribute or SQLFunctions class. Initially, as I understand, EF Core did not have this capability; but it seems from here that it now exists via
EF.Functions. However, I can't find any place that describes how to use it. Do I decorate implementation with an attribute and code fallback? Do I call the function in my code? Specifically, I want to call SQL Server
SOUNDEX() function, but I am sure there are many other examples.
This functionality was added in EF Core 2.0
See the section Database scalar function mapping here - https://docs.microsoft.com/en-us/ef/core/what-is-new/