title: EntityTypeBuilder does not contain a definition for ToTable in EF Core
body: <p>I have this sample code:</p>
  
  <pre><code>using Microsoft.EntityFrameworkCore;
  using Microsoft.EntityFrameworkCore.Metadata.Builders;
  using Models;
  
  namespace MySampleNamespace
  {
      public class MyDbContext : DbContext
      {
          public MyDbContext(DbContextOptions&lt;MyDbContext&gt; options)
              : base(options)
          {
          }
  
          public DbSet&lt;User&gt; Users { get; set; }
  
          protected override void OnModelCreating(ModelBuilder modelBuilder)
          {
              new UserMap(modelBuilder.Entity&lt;User&gt;());
          }
  
          public class UserMap
          {
              public UserMap(EntityTypeBuilder&lt;User&gt; entityBuilder)
              {
                  entityBuilder.ToTable("User");
                  entityBuilder.Property(s =&gt; s.Username).HasMaxLength(15).IsRequired();
              }
          }
      }
  }
  </code></pre>
  
  <p>I was testing out some example from MS website, but I can't find ToTable method. In the example, I checked what are the Usings and the only Using the example had is Microsoft.EntityFrameworkCore aside from the class project for the model he was using. Was this changed? How do I do this now?</p>