I am trying to make a column as Unique key in my model....my code is :...public class Customer
{
[Index("abcd",IsUnique = true)]
public int CustomerID { get; set; }
}
...and I am using following references:...using System.ComponentModel.DataAnnota...