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

Unable to open serial port using Putty to bluetooth device on windows 7 64 bit -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -