Base solution for your next web application

Activities of "joffies"

Question

Good Afternoon

I have tried to use the [Index] Entity Framework Data Annotation but cannot seem to use it.

I have also added a reference to what I believe to be the correct namespace

using System.ComponentModel.DataAnnotations.Schema;

What version of the Entity Framework does the template work with? Can i decorate my Class/Entity Properties with the Index Attribute or would I have to manually create/add an Index in the migration files?

Cheers

Showing 1 to 1 of 1 entries