internal static global::CodeGeneration.DSL.MetaModelHasClasses GetLink(global::CodeGeneration.DSL.MetaModel source, global::CodeGeneration.DSL.Class target)
 {
     global::System.Collections.Generic.IList <global::CodeGeneration.DSL.MetaModelHasClasses> links = DslModeling::DomainRoleInfo.GetElementLinks <global::CodeGeneration.DSL.MetaModelHasClasses>(source, global::CodeGeneration.DSL.MetaModelHasClasses.MetaModelDomainRoleId);
     foreach (global::CodeGeneration.DSL.MetaModelHasClasses link in links)
     {
         if (target.Equals(link.Element))
         {
             return(link);
         }
     }
     return(null);
 }
 internal static global::System.Collections.ObjectModel.ReadOnlyCollection <global::CodeGeneration.DSL.MetaModelHasClasses> GetLinks(global::CodeGeneration.DSL.MetaModel source, global::CodeGeneration.DSL.Class target)
 {
     global::System.Collections.Generic.List <global::CodeGeneration.DSL.MetaModelHasClasses>  outLinks = new global::System.Collections.Generic.List <global::CodeGeneration.DSL.MetaModelHasClasses>();
     global::System.Collections.Generic.IList <global::CodeGeneration.DSL.MetaModelHasClasses> links    = DslModeling::DomainRoleInfo.GetElementLinks <global::CodeGeneration.DSL.MetaModelHasClasses>(source, global::CodeGeneration.DSL.MetaModelHasClasses.MetaModelDomainRoleId);
     foreach (global::CodeGeneration.DSL.MetaModelHasClasses link in links)
     {
         if (target.Equals(link.Element))
         {
             outLinks.Add(link);
         }
     }
     return(outLinks.AsReadOnly());
 }
 internal static global::System.Collections.ObjectModel.ReadOnlyCollection <global::CodeGeneration.DSL.MetaModelHasClasses> GetLinksToClasses(global::CodeGeneration.DSL.MetaModel metaModelInstance)
 {
     return(DslModeling::DomainRoleInfo.GetElementLinks <global::CodeGeneration.DSL.MetaModelHasClasses>(metaModelInstance, global::CodeGeneration.DSL.MetaModelHasClasses.MetaModelDomainRoleId));
 }