Exemplo n.º 1
0
 public void SetSpecialRecordId(IndividualSpecialRecordIdType type, String recordId)
 {
     //trace.TraceInformation("SetXrefName:" + name);
     //automatedRecordId = recordId;
     if (specialRecordList == null)
     {
         specialRecordList = new Dictionary <IndividualSpecialRecordIdType, string>();
     }
     specialRecordList.Add(type, recordId);
 }
 public void SetSpecialRecordId(IndividualSpecialRecordIdType type, String recordId)
 {
     //trace.TraceInformation("SetXrefName:" + name);
     //automatedRecordId = recordId;
     if (specialRecordList == null)
     {
         specialRecordList = new Dictionary <IndividualSpecialRecordIdType, string>();
     }
     if (specialRecordList.ContainsKey(type))
     {
         trace.TraceData(TraceEventType.Error, 0, "Trying to add " + type + ":" + recordId + " which seem to be in already:" + specialRecordList.Count);
     }
     else
     {
         specialRecordList.Add(type, recordId);
     }
     MarkUpdate();
 }