To describe a file-to-file relationship, you may use:
For example, if Order Refers to Customer, then the keys of Customer are included as foreign key entries in the Order file:
Order Refers to Customer
K Order code K Customer code
Order quantity Customer name
Order line Customer address
Vendor ID Customer credit limit
Customer code Customer account balance
Product code
In CA 2E, a Refers to relationship has a one-to-many cardinality.
For example, if Order is Owned by Company, then the key(s) of the Company file appears as the major key(s) on the Order file:
Order Owned by Company
K Company ID K Company ID
K Order code Company name
Order quantity Company address
Order line
Vendor ID
Product code
In , the Owned by relationship has a one-to-many cardinality: the (Owned by) Order entity is the child of the parent (Company) entity.
|
Copyright © 2014 CA.
All rights reserved.
|
|