EF Core Unique Index

protected override void OnModelCreating(ModelBuilder modelBuilder){    modelBuilder.Entity<Book>()        .HasIndex(b => b.Isbn)        .IsUnique();}
Annoyed Ant