title: System.Data.SqlClient.SqlException: Invalid object name in EF- but in Table Attribute set proper name
body: <p>I have created class to configure the corresponding table name in the database with proper name "MyTableInfo" by <code>Table</code> attribute:</p>
  
  <pre><code>using System.ComponentModel.DataAnnotations.Schema;
  
  [Table("MyTableInfo" , Schema = "dbo")]
  public class MyTableInfo
  {
      [DatabaseGenerated(DatabaseGeneratedOption.None)]
      public int Id { get; set; }
  }
  </code></pre>
  
  <p>and I use Fluent API in model class for add some constraints:</p>
  
  <pre><code>protected override void OnModelCreating(DbModelBuilder modelBuilder)
  {
      modelBuilder.Entity&lt;Answers&gt;()
          .HasMany(e =&gt; e.MyTableInfo)
          .WithRequired(e =&gt; e.Answers)
          .HasForeignKey(e =&gt; e.AnswersId)
          .WillCascadeOnDelete(false);
  }
  </code></pre>
  
  <p>But when I try get data from the table I have an exception:</p>
  
  <blockquote>
    <p>System.Data.SqlClient.SqlException: Invalid object name 'dbo.MyTableInfoes'</p>
  </blockquote>
  
  <p>however I don't have even any string in my source files with text <code>MyTableInfoes</code> !!!</p>
  
  <p>How to fix this ?</p>