0

I'm currently trying to implement a search function for a table in a database that uses Breeze Sharp and Breeze Asp Net Core. In their docs they just say to do this.

// Customers whose name contains the word, "market"
var query = new EntityQuery<Customer>()
 .Where(cust => cust.CompanyName.Contains('market'));

But I have done essentially that and still get an error. The error is from the JsonQueryExpressionVisitor VisitMethodCall function when ExecuteQuery is creating the resourcePath. It says

"The method 'Contains' is not supported"

Is there any viable way to implemenet a search feature using Breeze?

burnsi
  • 6,194
  • 13
  • 17
  • 27

0 Answers0