Hi,
Why can this not be used in crm queries?
+ $exception {"Invalid 'where' condition. An entity member is invoking an invalid property or method."} System.NotSupportedException
J.
var predicate = PredicateBuilder.True<Contact>();
predicate = predicate.And(p => p.statecode == (int)ContactState.Active);
var x = serviceContext.ContactSet.Where(predicate);
Predicate builder used from:
*This post is locked for comments