示例#1
0
 public bool InsertRealization(RealizationRelationship realization)
 {
     if (realization != null && !_relationships.Contains(realization) &&
         _entities.Contains(realization.First) && _entities.Contains(realization.Second))
     {
         AddRealization(realization);
         return(true);
     }
     else
     {
         return(false);
     }
 }
示例#2
0
 protected virtual void AddRealization(RealizationRelationship realization)
 {
     AddRelationship(realization);
 }