how can i do a join in this query to another table
dynamic list = _db.Users.Where(m => m.vcr_UserName != "superadmin" ).OrderByDescending(m => m.int_UserId).ToPagedList(Cpage, defaultPageSize);
i must have a topagedList there
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use Join(). The tricky part is you must get the keys to be joined on from both tables into the same type to be compared, anonymous types are particularly useful for this.
Signatures are here: http://www.hookedonlinq.com/JoinOperator.ashx
You can find lots of examples (in the more magical from… form) here: http://msdn.microsoft.com/en-us/vbasic/bb688085.aspx