“Only arguments that can be evaluated on the client are supported for the String.Contains method”

public static void MyFunction(MyErrorClass err) { var query = from filter in DataContext.ErrorFilters select filter; query = query.Where(f => err.ErrorMessage.Contains(f.ErrorMessage)); List<ErrorFilter> filters = query.ToList(); //…more code } So I’m having some issues with the above code, and I’m getting the error from the subject line at the line with query.ToList(). Here’s what I’m trying to … Read more