Example #1
0
 public void AddRelationConfig(IRelationConfig relationConfig)
 {
     if (!relationConfigs.Add(relationConfig))
     {
         throw new ArgumentException("Duplicate relation configuration for '" + EntityType.Name + "'.'" + relationConfig.Name + "'");
     }
 }
Example #2
0
 public void AddMemberConfig(IMemberConfig memberConfig)
 {
     if (!memberConfigs.Add(memberConfig))
     {
         throw new ArgumentException("Duplicate member configuration for '" + EntityType.Name + "'.'" + memberConfig.Name + "'");
     }
 }
Example #3
0
 public void RemoveObjRef(IObjRef objRef)
 {
     if (((ICollection)removedORIs).Count == 0)
     {
         removedORIs = new CHashSet <IObjRef>();
     }
     removedORIs.Add(objRef);
 }
Example #4
0
 public void AddObjRef(IObjRef objRef)
 {
     if (((ICollection)addedORIs).Count == 0)
     {
         addedORIs = new CHashSet <IObjRef>();
     }
     addedORIs.Add(objRef);
 }
Example #5
0
 public void AddSubstitutedEntity(Object entity)
 {
     substitutedEntities.Add(entity);
 }