Re: Entity relationshp

From: James <jraustin1_at_hotmail.com>
Date: 20 Oct 2001 20:25:13 -0700
Message-ID: <a6e74506.0110201925.55672769_at_posting.google.com>


> Each slot supports "n" number of CardTypes and each CardType can be > supported by m number of Slots.

This is a many-to-many relationship that can be modeled as shown below in XDb. XDb allows an object to have a property that can reference any number of objects whose ancestor class is the property's class.

Slot
  .CardType
->CardType1
->CardType2
->CardTypeN

CardType
  .Slot
->Slot1
->Slot2
->SlotN

XDb is an object-oriented database for Windows & Pocket PCs. Instantiate, reference, cut, copy, paste, delete, query objects via File Explorer like GUI. Fast, flexible, compact, orthogonal. Fits easily on a low-density floppy. Download your free copy from http://www.xdb1.com Received on Sun Oct 21 2001 - 05:25:13 CEST

Original text of this message