Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Blogs / Nishant Rana’s Weblog / Fixed – ‘Invalid ‘where’ c...

Fixed – ‘Invalid ‘where’ condition. An entity member is invoking an invalid property or method’ while using LINQ query (Dataverse / Dynamics 365)

Nishant Rana Profile Picture Nishant Rana 11,314 Microsoft Employee
We might get the below error while using LINQ to query Dataverse – “System.NotSupportedException: ‘Invalid ‘where’ condition. An entity member is invoking an invalid property or method.’” Here we got the below error because we used the HasValue property. Here the issue with HasValue arises because FetchXML doesn’t have a direct equivalent for nullable checks … Continue reading "Fixed – ‘Invalid ‘where’ condition. An entity member is invoking an invalid property or method’ while using LINQ query (Dataverse / Dynamics 365)"

This was originally posted here.

Comments

*This post is locked for comments