using(var sd=new dataEntities()) { var listofdata=sd.users.where(d=>d.id.ToString().Contain("2"));// id as int // error : LINQ to Entities does not recognize the method 'System.String ToString()' method, and this method cannot be translated into a store expression. }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)