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
Post a Comment