Esempio n. 1
0
        public void Execute(IEntityGraphBuilder builder, EntityRegexMatchInfo info)
        {
            List <IEntityList <IEntity> > bigList = AddEntitiesToList(info.GetMatch(), 0, new EntityList <IEntity>());

            for (int i = 0; i < bigList.Count; i++)
            {
                IEntityList <ITrueEntity> oneList             = bigList[i].ConvertToTrueEntityList();
                SubpropertyRelationship   subpropertyRelation = new SubpropertyRelationship(oneList[0] as IPropertyEntity, oneList[1] as IPropertyEntity);
                builder.Add(subpropertyRelation);
            }
        }
 public void Add(SubpropertyRelationship subpropertyRelationship)
 {
     Graph.Add(subpropertyRelationship);
 }