Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

asp net identity add a unique fields to user

modelBuilder.Entity<ApplicationUser>()
        .HasIndex(b => b.CustomProperty)
        .IsUnique();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #asp #net #identity #add #unique #fields #user
ADD COMMENT
Topic
Name
8+4 =