title: Entity Framework Contains Integer Array
body: <pre><code>public void GetMuscles(List&lt;ListItem&gt; selected)
   {
       int[] arrayOfStrings = new int[selected.Count];
  
       for (int i = 0; i &lt; selected.Count; i++)
       {
           arrayOfStrings[i] = Convert.ToInt32(selected[i].Value);
       }  
  }  
  
  using (var db = new DWSEntities())
  {
       var muscles = (from m in db.Muscles
           where m.MainMusleGroupID. //ISSUE
           select new { m.MusleName, m.ID }).Take(40);
  }
  </code></pre>
  
  <p>In where statement I need to use contains but after "." I don't have option to use contains. I tried the same with a non integer value and it appears. I have an integer array and need WHERE IN clause. So is there any other way to do it without contains or how can I use contains with integer values?</p>