title: How to add a composite unique key using EF 6 Fluent Api?
body: <p>I have a table (Id, name, itemst, otherproperties), Id is the primary key and I want a unique composite key (name, itemst). How can I add this using code first either by fluent API (preferred) or annotation?</p>