asp net identity add a unique fields to user

62

asp net identity add a unique fields to user -

modelBuilder.Entity<ApplicationUser>()
        .HasIndex(b => b.CustomProperty)
        .IsUnique();

Comments

Submit
0 Comments