130 votes4 comments · [Closed] Entity Framework Core Feature Suggestions · Flag idea as inappropriate… · Admin →
Simple support for FreeText functions on SQL Server is added in EF Core 2.1.Daniel Shryock commented
What is preventing entity framework from exposing the CONTAINS function as a function on SqlFunctions?
It seems like something like to this should be relatively trivial:
var results =
from x in context.Records
where SqlFunctions.Contains(x.Text,"full text query")
If anyone has any ideas on how to mock a function similar to the SqlFunctions.Contains example above, I'd be happy to hear it.Daniel Shryock supported this idea ·