Esempio n. 1
0
        public void InsertRelation(string mappingMaster, MappingType typeMaster, string mappingSlave, MappingType typeSlave, RelationType relationType)
        {
            RelationOnHold relation = new RelationOnHold();

            relation.mappingMaster = mappingMaster;
            relation.typeMaster    = typeMaster;
            relation.mappingSlave  = mappingSlave;
            relation.typeSlave     = typeSlave;
            relation.relationType  = relationType;
            AddDataToInvestigate(mappingMaster, typeMaster);
            AddDataToInvestigate(mappingSlave, typeSlave);
            relationsOnHold.Add(relation);
        }
Esempio n. 2
0
        public void InsertRelation(string mappingMaster, MappingType typeMaster, string mappingSlave, MappingType typeSlave, RelationType relationType)
        {
            Trace.WriteLine("Stack:" + mappingMaster + "," + typeMaster.ToString() + "," + mappingSlave + "," + typeSlave + "," + relationType.ToString());
            RelationOnHold relation = new RelationOnHold();

            relation.mappingMaster = mappingMaster;
            relation.typeMaster    = typeMaster;
            relation.mappingSlave  = mappingSlave;
            relation.typeSlave     = typeSlave;
            relation.relationType  = relationType;
            AddDataToInvestigate(mappingMaster, typeMaster);
            AddDataToInvestigate(mappingSlave, typeSlave);
            relationsOnHold.Add(relation);
        }