On Oct 19, 9:23 pm, Gunnar Liljas <
gunnar.lil...@gmail.com> wrote:
> No, there is no overload, but all query types support list parameters, so
> that's covered.
>
> e.g (x=>myList.Contains(x.Id))
>
> AFAIK, there is no workaround for the parameter limit. I made a workaround
> in a Linq2Sql project once, which was based around a derived
> DbConnection/DbCommand class. By overriding the Execute methods and
> effectively "deparametrize" all IN criteria I was able to work around the
> limit. The same thing would be possible with a custom NHibernate provider.
>
> /G
>