Esempio n. 1
0
 public void AddRelation(RelationMetadata relationMetadata)
 {
     FillAttributeAndRelationBase(relationMetadata);
     _relationDictionary.Add(relationMetadata.Name, relationMetadata);
     AddMemberInternal(relationMetadata);
     Relations.Add(relationMetadata);
 }
Esempio n. 2
0
 public bool TryGetRelation(string name, out RelationMetadata relation)
 {
     return(_relationDictionary.TryGetValue(name, out relation));
 }