Many to Many relationships?

Feb 27, 2011 at 8:14 PM

Hi Sean,

I know 1-to-many relationship is supported in RapidRepository.  Is Many-To-Many supported as well?  Can you please provide a quick example if it is supported?

For eg, if I have a Customer entity, a Product entity and then an Orders entity which stores the products ordered by customers....

Pratik

Coordinator
Feb 27, 2011 at 8:57 PM
Hi Pratik,
It doesn’t really support this directly, what you would need to in this case would be something like the following:
Save the products and save the customers.
Add a customer id and list off product ids to the order entity.
You could then use these id’s to retrieve the actual entities when needed.
Regards,
Sean.
From: [email removed]
Sent: Sunday, February 27, 2011 8:14 PM
To: [email removed]
Subject: Many to Many relationships? [RapidRepository:247775]

From: pratikkothari1

Hi Sean,

I know 1-to-many relationship is supported in RapidRepository. Is Many-To-Many supported as well? Can you please provide a quick example if it is supported?

For eg, if I have a Customer entity, a Product entity and then an Orders entity which stores the products ordered by customers....

Pratik