c# - Obscure "Unsupported overload used for query operator 'Where'." -


i'm using linqpad , linqkit try learn more linq construct complex queries, seem stuck on simple queries. haven't found solution error in question description when input following -simple- expression:

qhpatients.asexpandable().where(p =>     p.qhencounters.where(predicatebuilder.true<qhencounter>().compile()).any()) 

if run code in vs following error instead: "system.invalidoperationexception : internal .net framework data provider error 1025"

p.qhencounters.where(predicatebuilder.true<qhencounter>().compile()) 

without knowing actual types use, guess need either call .asexpandable() on qhencounters or omit .compile() call.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -