Example #1
0
 bool TryGetParentRelations(Item item, out IList <Relation> relations, Relation_Store_ParentRelation stoPRels, Relation_StoreX_ParentRelation stoXPRels)
 {
     if (item.GetOwner().IsExternal)
     {
         if (stoXPRels.TryGetChildren(item, out IList <Relation> txRelations))
         {
             relations = new List <Relation>(txRelations);
             return(true);
         }
         relations = null;
         return(false);
     }
     return(stoPRels.TryGetChildren(item.GetOwner(), out relations));
 }
 internal Model_663_ParentRelatationList(Model_654_Table owner, TableX item) : base(owner, item)
 {
     _relation_StoreX_ParentRelation = item.GetRoot().Get <Relation_StoreX_ParentRelation>();
 }
Example #3
0
 internal Model_6B4_ParentRelationList(ItemModel owner, RowX item) : base(owner, item)
 {
     StoreX_ParentRelation = item.GetRoot().Get <Relation_StoreX_ParentRelation>();
 }
Example #4
0
 private void InitializeLocalReferences(Root root)
 {
     _relation_StoreX_ChildRelation  = root.Get <Relation_StoreX_ChildRelation>();
     _relation_StoreX_ParentRelation = root.Get <Relation_StoreX_ParentRelation>();
 }