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