c# - Object reference not set to an instance of an object in dynamic Linq-to-Sql where clause -


well using dynamic linq extension library iqueryable type of collection. collection of iqueryable. , apply cluase on when enumberate throws exception of null reference. please @ below stack trace.

iqueryable<t> returndata = source.where(advancesearchparameter.advancesearchtext, advancesearchparameter.advancesearchvalue); 

where extension method come dynamic extention library.

here source object of type iqueryable<t> , getting error when returndata gets executed(enumerate).

have tried setting visual studio break when exception thrown? go debug > exceptions... , check bow under "thrown" next "common language runtime exceptions".

hopefully break somewhere can see null.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -