Actions
Support #345
closedCircular references when using dbo features
Start date:
04/20/2010
Due date:
% Done:
0%
Estimated time:
Description
Hi,
How can I avoid circular references between the classes for my database objects? I have a class "Map" and a class "Layer" referring to two tables "map" and "layer". The tables have a many-to-one relationship (many layers to one map). To create the relationship and use the dbo::collection and dbo::ptr types I should include "Map.h" in "Layer.h" and "Layer.h" in "Map.h". Obviously that causes a problem when compiling. On the other hand I don't want put all classes into one file. Could you provide me with a hint please on how to deal with this issue!?
Many thanks!
Updated by Koen Deforche about 14 years ago
- Status changed from New to Closed
See [[[http://redmine.webtoolkit.eu/boards/2/topics/show/290]]]
Updated by Koen Deforche about 14 years ago
Ooops, I meant: see http://redmine.webtoolkit.eu/boards/2/topics/show/290
Actions