Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here's another simple example. Imagine you had a single database file containing messages. Each message has a unique identifying 7 digit number. Each message also has a status, somewhat like an e-mail, of RECEIVED, READ, SENT and DELETED. Conceptually this might be arranged into an instance list like this:

Business Object TypeAKey1AKey2

RECEIVE

RECEIVE


MESSAGE

RECEIVE26272

MESSAGE

RECEIVE63738

READ

READ


MESSAGE

READ73389

MESSAGE

READ74584

MESAAGE

READ73873

SENT

SENT


MESSAGE

SENT 78383

MESSAGE

SENT 37383

DELETED

DELETE


MESSAGE

DELETE62727


Conceptually the instance looks something like an e-mail inbox, outbox and deleted items. It is not directly reflective of the underpinning database design.