When I use ASP.NET Identity first code approach, I want to generate columns in AspNetUsers table in my own way. I don\'t need to have stored multiple columns with null values. I
Actually you can, just configure your entity on OnModelCreating
of your context class.
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
modelBuilder.Entity().Ignore(u => u.AccessFailedCount);
//and so on...
}
Or if your application has a separate file for each configuration (wich is what i recommend), you can do like this:
public class ApplicationUserEntityTypeConfiguration : EntityTypeConfiguration
{
public ApplicationUserEntityTypeConfiguration()
{
Ignore(p => p.AccessFailedCount);
//And so on..
}
}