Sathya Narayan

Sathya Narayan

  • NA
  • 155
  • 63.7k

Not in Clause in Linq To SQl

Oct 19 2016 3:08 AM
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)