title: How to resolve this Error "Cannot convert lambda expression to type 'string' because it is not a delegate type"
body: <p>i try this code and It is giving me the error on the 'where'
  i verify: <code>using system.linq;</code> and <code>using System.Data.Entity</code> but not fixed(i work with visual studio 2012 ultimate and sql server 2008 r2)</p>
  
  <p>code:</p>
  
  <pre><code>public static int updatecondidate(int condidateID, condidate_table   updatedcondidateData)
  { int rowAffected = 0;
  
      using (EmployeementSystemEntities DB = new EmployeementSystemEntities())
      {
          //select condidate for update
          condidate_table condidateforupdate = (from anything in DB.condidate_table
                                                where anything.condidate_id == condidateID
                                                select anything).FirstOrDefault();
          condidateforupdate.condidate_name = updatedcondidateData.condidate_name;
          condidateforupdate.condidate_phone = updatedcondidateData.condidate_phone;
          condidateforupdate.condidate_email = updatedcondidateData.condidate_email;
          condidateforupdate.condidate_pic = updatedcondidateData.condidate_pic;
          rowAffected = DB.SaveChanges();
      }
      return rowAffected;
  }
  </code></pre>
  
  <p>the same error here on "Select"<br>
   //select all condidate</p>
  
  <pre><code>public static List&lt;condidate_table&gt; SelectAllCondidate()
  {
      using (EmployeementSystemEntities DB = new EmployeementSystemEntities())
      {
          List&lt;condidate_table&gt; AllCondidate = (from anything in DB.condidate_table 
                                                select anything).ToList&lt;condidate_table&gt;();
          return AllCondidate;
      }
  }
  </code></pre>