I have a question regarding your example in the documentation about using the Predicate Builder:
finding all Products with either of “Sir Cajun Louisiana”
I would solve the problem as follows
var _products = new ObservableCollection<Product>();
var db = NorthwindIBEntities.DefaultManager;
var li = new List<string>();
li.Add("Sir");
li.Add("Cajun");
li.Add("Louisiana");
db.GetQuery<Product>().Where(x => li.Contains(x.ProductName)).ExecuteAsync(op =>
{foreach (var p in op.Results) _products.Add(p);} );
I understand that predicates can do a lot more than what is required in this simple example.
My question is if there are important reasons not to solve this example in my way.
Where does this query get executed (on the server or the client)?
Markus Seeli