title: Is it possible to set a unique constraint using Entity Framework Code First?
body: <p>I want to enforce Unique constraint in a table &amp; I am using Entity Framework Code-First.</p>
  
  <p>Is it possible to add a unique constraint using EF 6 as i believe in earlier versions it was not possible.</p>