title: Entity Framework Code First - Changing a Table Name
body: <p>I want to change the name of one of my tables generated using Entity Framework code first. </p>
  
  <p>I have already created the database, but now I want to change the name. I've updated all references to the <code>"Metadatas"</code> table to <code>"Metadata"</code> in my project. But the table that is being generated in the database is still "Metadatas". I've dropped and re-created the database, but that doesn't seem to work either. Neither does using a TableAttribute.   What I'm I supposed to do?</p>
  
  <p>Thanks.</p>
  
  <pre><code>[Table("Metadata")]
  public class Metadata 
  {
      [Required, Key]
      public int MetadataId { get; set; }
  
      [Required, ScaffoldColumn(false)]
      public int DocumentId { get; set; }
  
      [Required, StringLength(250), DataType(DataType.Text)]
      public string Title { get; set; }
  </code></pre>
  
  <p>...</p>