Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
75
Добавлен:
22.03.2015
Размер:
468.74 Кб
Скачать

ERwin Methods Guide

5

 

 

Refining Model Relationships

What’s In This Chapter?

Relationships are a bit more complex than they might at first seem. They carry a lot of information. Some might say that they are the heart of the data model, because, to a great extent, they describe the rules of the business and the constraints on creating, modifying and deleting instances.

For example, you can use cardinality to define exactly how many instances are involved in both the child and parent entities in the relationship. And you can further specify how you want to handle database actions such as INSERT, UPDATE, and DELETE using referential integrity rules.

Data modeling also supports highly complex relationship types that enable you construct a logical model of your data that is understandable to both “business” and “systems” experts.

Chapter Contents

 

Relationship Cardinality ......................................................................................

48

Referential Integrity..............................................................................................

51

Additional Relationship Types............................................................................

56

Many-to-Many Relationships ..............................................................................

57

N-ary Relationships..............................................................................................

60

Recursive Relationships .......................................................................................

62

Subtype Relationships ..........................................................................................

64

Refining Model Relationships 47

Соседние файлы в папке Базы данных