Dynamic Linq supports String.Split and also calls other methods such as .net, as shown below.
var query =
db.Customers.Where("City.Split(\"abc\".ToCharArray()).Length == 1 and Orders.Count >= @1", "London", 10).
OrderBy("CompanyName").
Select("New(CompanyName as Name, Phone)");
He was able to convert a string to an expression tree, but since SQL does not have any string splitting operation, it throws an error if you run it in SQL
source
share