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