none
The LINQ expression node type 'ArrayIndex' is not supported in LINQ to Entities. RRS feed

  • Question

  • Hi,

    This maybe a simple but it just escapes me.

     var  _users =  from  p  in   this .CurrentDataSource.ESET_users where ((p.userid == _creds[0]) && (p.password == _creds[1])) select   p.userid;

    int count = _users.Count();

    It throws the exception "The LINQ expression node type 'ArrayIndex' is not supported in LINQ to Entities."

    How do I get this to work?

    How can I iterate through the results?

    Thanks.

     

    Friday, August 26, 2011 6:47 AM

Answers

All replies