« Şuraya Dön: University of Namur & University of Stockholm Project

Is it possible to check if an instance is inside another instance on an ADO

Kombine Görünüm Yatay Görünüm Ağaç Görünümü
Konular [ Önceki | Sonraki ]
toggle
Is it possible to check if an instance is inside another instance on an ADOscript level ?

RE: Is it possible to check if an instance is inside another instance on an
Cevap
11.04.2014 12:36 Şuna yanıt olarak gönderilmiştir: Adsız.
This is possible through an implicit relation called "Is inside" that is provided at platform level. The prerequesite is that the container class is inherited from "__D_aggregation__". The "Is inside" relation auto-connects objects that are inherited as instances from any class (inherited from "__D_construct__") with the respective container. This can be validated using e.g. AQL queries.