Changeset 3261
- Timestamp:
- 05/29/07 11:33:53 (1 year ago)
- Files:
-
- trunk/Schevo/tests/test_on_delete.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Schevo/tests/test_on_delete.py
r3260 r3261 91 91 92 92 93 # ---------------------------------------------------------------- 94 95 93 96 class Bam(E.Entity): 97 """Bam and Bat circularly reference eachother. 98 99 The relationships created upon a creation of a Bam entity 100 can be visualized as follows:: 101 102 .---------------. 103 | Bam[1] |<----. 104 | | | 105 .-------.bat = Bat[1] | | RESTRICT 106 | `---------------` | 107 | | 108 | .---------------. | 109 `---->| Bat[1] | | 110 | | | 111 | .bam = Bam[1]-------` 112 `---------------` 113 """ 94 114 95 115 bat = f.entity('Bat') … … 111 131 112 132 bam = f.entity('Bam') 133 134 135 # ---------------------------------------------------------------- 113 136 114 137 … … 168 191 boo = f.entity(('Boo', CASCADE)) 169 192 bar = f.entity('Bar') 193 194 195 # ---------------------------------------------------------------- 170 196 171 197 … … 232 258 faz = f.entity(('Faz', CASCADE)) 233 259 far = f.entity('Far') 260 261 262 # ---------------------------------------------------------------- 234 263 235 264
