internal static global::System.Collections.ObjectModel.ReadOnlyCollection <global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition> GetLinks(global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroup source, global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyDefinition target)
 {
     global::System.Collections.Generic.List <global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition>  outLinks = new global::System.Collections.Generic.List <global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition>();
     global::System.Collections.Generic.IList <global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition> links    = DslModeling::DomainRoleInfo.GetElementLinks <global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition>(source, global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition.CustomPropertyGroupDomainRoleId);
     foreach (global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition link in links)
     {
         if (target.Equals(link.CustomPropertyDefinition))
         {
             outLinks.Add(link);
         }
     }
     return(outLinks.AsReadOnly());
 }
 internal static global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition GetLink(global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroup source, global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyDefinition target)
 {
     global::System.Collections.Generic.IList <global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition> links = DslModeling::DomainRoleInfo.GetElementLinks <global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition>(source, global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition.CustomPropertyGroupDomainRoleId);
     foreach (global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition link in links)
     {
         if (target.Equals(link.CustomPropertyDefinition))
         {
             return(link);
         }
     }
     return(null);
 }
 internal static global::System.Collections.ObjectModel.ReadOnlyCollection <global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition> GetLinksToCustomPropertyDefinitionCollection(global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroup customPropertyGroupInstance)
 {
     return(DslModeling::DomainRoleInfo.GetElementLinks <global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition>(customPropertyGroupInstance, global::ORMSolutions.ORMArchitect.CustomProperties.CustomPropertyGroupContainsCustomPropertyDefinition.CustomPropertyGroupDomainRoleId));
 }