title: Asp.net identity extra user information like email etc
body: <p>I am using new ASP.NET Identity. I have added some extra user information like email, mobile etc, but at the time of user creation I am getting the following exception:</p>
  
  <blockquote>
    <p>An error occurred while executing the command definition. See the inner exception for details.</p>
    
    <p>Inner exception:</p>
    
    <p>{"Invalid column name 'Discriminator'.\r\nInvalid column name 'FirstName'.\r\nInvalid column name 'LastName'.\r\nInvalid column name 'DateOfBirth'.\r\nInvalid column name 'Age'.\r\nInvalid column name 'Mobile'."}</p>
  </blockquote>
  
  <p><strong>Code:</strong></p>
  
  <p><code>AccountController</code></p>
  
  <pre><code>            var user = new ApplicationUser()
              {
                  UserName = model.Email,
                  DateOfBirth = model.DateOfBirth,
                  FirstName = model.FirstName,
                  LastName = model.LastName,
                  Mobile = model.Mobile,
                  Age = model.Age
              };
  
              var result = UserManager.Create(user, model.Password); //exception
  </code></pre>
  
  <p><code>Model</code>:</p>
  
  <pre><code>public class ApplicationUser : IdentityUser
  {
      public string FirstName { get; set; }
      public string LastName { get; set; }
      public DateTime DateOfBirth { get; set; }
      public int Age { get; set; }
      public string Mobile { get; set; }
  }
  
  public class ApplicationDbContext : IdentityDbContext&lt;ApplicationUser&gt;
  {
      public ApplicationDbContext()
          : base("DefaultConnection")
      { }
  
      protected override void OnModelCreating(DbModelBuilder modelBuilder)
      {
          modelBuilder.Entity&lt;ApplicationUser&gt;().Property(p =&gt; p.DateOfBirth).HasColumnType("datetime2");
  
          base.OnModelCreating(modelBuilder);
      }
  }
  </code></pre>
  
  <p>What am I doing wrong ??</p>