| c# Programming Glossary: persontypeidEntity Framework: Alternate solution to using non primary unique keys in an association http://stackoverflow.com/questions/3992236/entity-framework-alternate-solution-to-using-non-primary-unique-keys-in-an-asso  to Person.TypeCode CREATE TABLE dbo . PersonType PersonTypeId int NOT NULL TypeCode varchar 10 NOT NULL TypeDesc varchar max.. max NULL CONSTRAINT PK_PersonType PRIMARY KEY CLUSTERED PersonTypeId ASC CONSTRAINT UK_PersonType UNIQUE NONCLUSTERED TypeCode ASC.. excluded.  EntityType Name PersonType Key PropertyRef Name PersonTypeId  Key Property Name PersonTypeId Type int Nullable false  Property.. 
 |