title: DbSet<xxx>' does not contain a definition for 'Update' and no accessible extension method 'Update'
body: <p>here is my code block</p>
  
  <pre><code> foreach(var n in animalbirdAdoptionDetails)
   {
      int animalBirdsId = n.AnimalsAndBirdsId;
      int NoAnimal =  Convert.ToInt32(n.NoAnimalsAdopted);
      n.isActive = false;
      context.NameOfAnimalsAndBirds.Update(e2 =&gt; new entity 
                       { 
                           quantity = e2.quantity + moreQuantity
                       });
      context.SaveChanges();
  
    }
  
  </code></pre>
  
  <p>DbSet' does not contain a definition for 'Update' and no accessible extension method 'Update' accepting a first argument of type 'DbSet' could be found (are you missing a using directive or an assembly reference?)</p>