Is there a way to create an index on a property/column using code-first, instead of using the new IndexAttribute ?
You can use one of this
// Indexes
this.HasIndex(e => e.IsActive) .HasName("IX_IsActive");
or
this.Property(e => e.IsActive).HasColumnAnnotation( "Index", new IndexAnnotation(new IndexAttribute("IX_IsActive")));