Difference between revisions of "Circular references"

From Robs_Wiki
Jump to: navigation, search
(Created page with "__TOC__ A circular reference is a series of references where the last object references the first, resulting in a closed loop. <pre> A => B => C => A </pre> You can prevent c...")
 
Line 1: Line 1:
 
__TOC__
 
__TOC__
 
+
Explanation 1:<br />
 
A circular reference is a series of references where the last object references the first, resulting in a closed loop.
 
A circular reference is a series of references where the last object references the first, resulting in a closed loop.
 +
Br /><br />
 +
Explanation 2:<br />
 +
A circular relationship exists when every occurrence of entity A has one or more occurrences of entity B; entity B has one or more occurrences of entity C; and entity C has one or more
 +
occurrences of entity A
 
<pre>
 
<pre>
 
A => B => C => A
 
A => B => C => A

Revision as of 16:39, 23 January 2020

Explanation 1:
A circular reference is a series of references where the last object references the first, resulting in a closed loop. Br />
Explanation 2:
A circular relationship exists when every occurrence of entity A has one or more occurrences of entity B; entity B has one or more occurrences of entity C; and entity C has one or more occurrences of entity A

A => B => C => A

You can prevent circular references by using a link table:

A => ABC
B => ABC
C => ABC