Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi all.

I am creating a database which has a table called Faculty. The Faculty table has a column called FacultName (it is not the EntityKey).

However, I would like to ensure that despite FacultyName not being a key attribute, a faculty name cannot be entered twice. How can I set this behavior using Visual Studio 2013 designer for the edmx in a model first approach?
Posted
Updated 11-Feb-14 6:42am
v2

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900