Пример #1
0
 /// <summary>
 /// Adds a new embedding relationship instance.
 /// </summary>
 /// <param name="source">Domain class representing the parent.</param>
 /// <param name="target">Domain class representing the child.</param>
 public static void AddNewEmbeddingRelationship(List <DomainClass> sources, AttributedDomainElement target)
 {
     ModelTreeHelper.AddNewEmbeddingRelationship(sources, target);
 }
Пример #2
0
 /// <summary>
 /// Adds a new embedding relationship instance betweend the given domain class as source and a new domain class
 /// as target (target is created by this method).
 /// </summary>
 /// <param name="source">Domain class acting as parent in the embedding relationship.</param>
 public static void AddNewEmbeddingRelationship(List <DomainClass> sources)
 {
     ModelTreeHelper.AddNewEmbeddingRelationship(sources);
 }