var q = from p in context.SystemUsers
                        where p.SysUserName == username
                        select p;

this code also works

On Jun 19, 11:10 am, Erickson <[email protected]> wrote:
> hello, i had this error "Operation is not valid due to the current
> state of the object" when trying to query using
> "context.SystemUsers.Single" but when using "context.SystemUsers" all
> records are retrieve

-- 
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en.

Reply via email to