This is silly.. but I can not figure out why the filtering expressions are failing to compile. I've used LLBLGen 1.x for projects but 2.0 is throwing me!
i'm using selfservicing.
Here's what i'd do for 1.x:
IPredicateExpression A = new PredicateExpression(); A.Add(PredicateFactory.CompareValue(UserFieldIndex.UserId,ComparisonOperator.Equal,login));
What would the equivalent be for 2.0?
From what I can find in the help files, it'd be:
filter.Add(UserFieldIndex.UserId == login);
That fails to compile.. doesn't like the '=='
Error 1 Operator '==' cannot be applied to operands of type 'cdops.data.UserFieldIndex' and 'string'
I'm certain this is a no brainer but I'm missing the obvious..
Thanks!
Brian