Part IV

Identity

Identity is the property that distinguishes an entity from all others. Identity is a prominent concern in databases because developers must be able to find and reference data. This chapter focuses on conceptual aspects of identity and minimizes the discussion of implementation.

Identity is relevant to patterns, because identity deeply pervades models and thinking about models. There are three purposes of data models: to define data structure, to constrain data, and to provide a blueprint for accessing data. Identity is important for all three. Identifying fields are prominent in the declaration of data structure. Identity is by its very nature a constraint on uniqueness. And finally, unique fields and unique combinations of fields are anchor points for starting navigation of a database to access data.

I debated whether or not to include a chapter on identity. I decided to include the chapter because identity is such an important aspect of modeling. Identity pervades both conceptual models (unique keys and traversals of models—this chapter) as well as design models (different approaches to defining primary keys—Chapter 16).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset