title: How do I define an index for ASP.NET Core using EF?
body: <p>I'm using EF.Core in an ASP.NET core project. I have a model class, but can't find any documentation about what attributes to set on a property or the class to create an index or a unique index. Is this possible?</p>