I'm trying to select from CRM entity with "
I tryed this:
var results = crm.new_supplycontractSet
.Where(x => x.new_city != null &&
but it give me this error:
Invalid 'where' condition. An entity member is invoking an invalid property or method.
var result = (
from c in crm.new_supplycontractSet
from a in crm.new_comuneSet
where c.new_city.Id == a.Id
But i can't figure out how to do it. The second try gives me this error:
A 'SelectMany' operation must be preceeded by a 'Where' operation that filters by an entity ID.
How can I select by a contains filter? "
x.new_city" is an entity ref from crm.new_comuneSet.
I've just read something about the inaccessibility of the "
entity.entityRef.Name.Contains()" because the "Name" property is not ground level and so it's not available for the "