Hi I don't quite understand this problem, I am trying to add some expression into the IRelationPredicateBucket to apply filtering on my fetched data collection. something like following:
IRelationPredicateBucket filter = new RelationPredicateBucket();
filter.PredicateExpression.Add(storyId == 1);
and later on i can apply this to a fetch collection, this works perfectly.
But how can we do something like:
IRelationPredicateBucket filter = new RelationPredicateBucket();
filter.PredicateExpression.Add(Headline LIKE '%Basketball%');
or
IRelationPredicateBucket filter = new RelationPredicateBucket();
string s = storyID = 1 AND Headline LIKE '%Basketball%';
filter.PredicateExpression.Add(s);
are those 2 cases doable in the filter? thanks