Why am I getting Internal .NET Framework Data Provider error 1025 when passing Method to where? -


i have method takes generic tentity overriden. it's signature follows:

public virtual expression<func<aclproject, bool>> projectfilter(params tentity[] objs)     {         return (p) => objs.select(o => o.id).contains(p.id);     } 

i filter query based on this:

from p in db.somedbset db.aclprojects.where(projectfilter(p)).any() select p 

this results in 1025 error. (note doesn't matter body of projectfilter is, error still occurs.

any ideas why?

thanks!


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -