From Wikipedia, the free encyclopedia. Entity integrity is a basic constraint of database relational model (abbreviated RM) that refers to the morphology of the primary key but afterwords, the same format is applied to the foreign key and, also to any of simple components of any of two.