Does Entity Framework currently support custom functions in the Where clause?
- by André Pena
Entity Framework currently supports table valued functions and custom functions defined in the SSDL, but I can't find any example of it being used as a criteria, in the where clause.
Example:
var query = this.db.People; query = query.Where(p =
FullText.ContainsInName(p.Id, "George"));
In this example, ContainsInName is my custom function that I want to be executed in the where clause of the query.
Is it supported?