title: Seed method doesn't seed
body: <p>My seed method doesn't show any error, but it certainly doesn't seed anything after I run update-database from PMC. My problem is very specific, because of the overall structure of the database and usage of Identity. This is how Seed method looks so far:</p>
  
  <pre><code>protected override void Seed(ApplicationDbContext context)
      {
          if (!context.Users.Any())
          {
              var userStore = new UserStore&lt;ApplicationUser&gt;(context);
              var userManager = new UserManager&lt;ApplicationUser&gt;(userStore);
              var user = new ApplicationUser()
              {
  
                  FirstName = "Prvi",
                  LastName = "Doktor",
                  DateOfBirth = new DateTime(1977, 4, 3),
                  EmploymentStatus = EmploymentStatus.Employed,
                  PhoneNumber = "062/062-062",
                  Email = "prvi@gmail.ocami",
                  Address = "Kulovica 9",
                  DateCreated = DateTime.Now,
                  EmailConfirmed = true,
  
              };
              userManager.Create(user, "P@ssw0rd");
              context.SaveChanges();
          }
  }
  </code></pre>
  
  <p>My ApplicationDbContext class:</p>
  
  <pre><code>public class ApplicationDbContext : IdentityDbContext&lt;ApplicationUser&gt;
  {
  
      public DbSet&lt;Dentist&gt; Dentists { get; set; }
      public DbSet&lt;Patient&gt; Patients { get; set; }
  }
  </code></pre>
  
  <p>My models extend from ApplicationUser, which in turn extends from IdentityUser</p>
  
  <p>ApplicationUser:</p>
  
  <pre><code>public class ApplicationUser : IdentityUser, IModificationHistory
  {
      [Required]
      [Display(Name = "First Name")]
      [StringLength(50)]
      public string FirstName { get; set; }
  
      [Required]
      [Display(Name = "Last Name")]
      [StringLength(50)]
      public string LastName { get; set; }
  
      [Required]
      [DataType(DataType.Password)] //DataType is very powerfull Data Annotation, which can affect our view if we use EF, so I will try to accomplish as much as possible with that
      [Display(Name = "Password")]
      public string Password { get; set; }
  
  
      [DataType(DataType.Date)]
      [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
      [Display(Name = "Date of birth")]
      public DateTime DateOfBirth { get; set; }
  
      [Display(Name = "Address")]
      public string Address { get; set; }
  
      public EmploymentStatus? EmploymentStatus { get; set; } //This value is nullable
  
      public DateTime DateCreated { get; set; }
      public DateTime? DateModified { get; set; }
  
  
      public async Task&lt;ClaimsIdentity&gt; GenerateUserIdentityAsync(UserManager&lt;ApplicationUser&gt; manager)
      {
          // Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType
          var userIdentity = await manager.CreateIdentityAsync(this, DefaultAuthenticationTypes.ApplicationCookie);
          // Add custom user claims here
  
          return userIdentity;
      }
  
  
  }
  </code></pre>
  
  <p>Dentist:</p>
  
  <pre><code>[Table("Dentist")]
  public class Dentist : ApplicationUser
  {
  
      public string Place { get; set; }
  
  
      //Relations
      public virtual ICollection&lt;Patient&gt; Patients { get; set; }
      public virtual Schedule Schedule { get; set; }
  }
  </code></pre>
  
  <p>Patient: </p>
  
  <pre><code>[Table("Patient")]
  public class Patient : ApplicationUser
  {
      //Relations
      public virtual Dentist Dentist { get; set; }
  
      public virtual MedicalHistory MedicalHistory { get; set; }
      public virtual ICollection&lt;Appointment&gt; Appointments { get; set; }
  }
  </code></pre>
  
  <p>I would like to know, why it doesn't give any result and how should I look at this relationship that I made, or is there any other more logical relationship that could be made.</p>