Is there a way to create an index on a property/column using code-first, instead of using the new IndexAttribute ?
Without an explicit name:
[Index] public int Rating { get; set; }
With a specific name:
[Index("PostRatingIndex")] public int Rating { get; set; }