Is there any way to (visually) enforce candidate key constraint on an entity in an entity-relationship diagram in Visual Paradigm 12.1?
For example we have an entity called Address (street, city, state, zipcode)
. I want to store the attributes (id, street, city, state, zipcode)
BUT I want to enforce that the combination (street X city X state X zipcode)
is unique.
1 X James avenue X New York X USA X 123 is OK
2 X James avenue X New York X USA X 123 is NOT OK
This is an example in VP 12.1.
The problem is it means
street is unique AND
zipcode is unique AND
city is unique AND
state is unique
It should mean
Combination of street AND zipcode AND city AND state is unique.