Guest User

Untitled

a guest
Jul 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRole", b =>
  2. {
  3. b.Property<string>("Id")
  4. .ValueGeneratedOnAdd();
  5.  
  6. b.Property<string>("ConcurrencyStamp")
  7. .IsConcurrencyToken();
  8.  
  9. b.Property<string>("Name")
  10. .HasMaxLength(256);
  11.  
  12. b.Property<string>("NormalizedName")
  13. .HasMaxLength(256);
  14.  
  15. b.HasKey("Id");
  16.  
  17. b.HasIndex("NormalizedName")
  18. .IsUnique()
  19. .HasName("RoleNameIndex");
  20.  
  21. b.ToTable("AspNetRoles");
  22. });
  23.  
  24. builder.Entity<IdentityRole>(etp => etp.ToTable("my_custom_table"));
Add Comment
Please, Sign In to add comment