2
Reply

Not in Clause in Linq To SQl

Sathya Narayan

Sathya Narayan

Oct 19 2016 3:08 AM
273
I have written a linq to sql query for not in clause for the table tblBranches.So  i am getting this error.
The Best OverLoaded method match for system.collection.generic.list<Jeeves.BranchBO>.Contains(Jeeves.branchBO)has some invalid arguments 
 
var GetBranchDetail = (from C in objJCSDB.tblBranches
where !objListBranchBO.Any(C.BranchId)&& C.CityId==objBranchBO._CityId && C.IsActive==true.
 
Please Can any one help me...!! 
 

Answers (2)