internal static global::System.Collections.ICollection GetEntityTypeForBarkerEntityShapeAttributesCompartment(global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.Attribute root)
 {
     // Segments 1 and 0
     global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.EntityType result = root.EntityType;
     if (result == null)
     {
         return(new DslModeling::ModelElement[0]);
     }
     return(new DslModeling::ModelElement[] { result });
 }
        internal static global::System.Collections.IList GetElementsFromEntityTypeForAttributesCompartment(DslModeling::ModelElement element)
        {
            global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.EntityType root = (global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.EntityType)element;
            // Segments 0 and 1
            DslModeling::LinkedElementCollection <global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.Attribute> result = root.AttributeCollection;

            return(result);
        }
 public static global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.BarkerErModel GetParentForEntityType(global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.EntityType root)
 {
     // Segments 0 and 1
     global::ORMSolutions.ORMArchitect.EntityRelationshipModels.Barker.BarkerErModel result = root.BarkerErModel;
     if (result == null)
     {
         return(null);
     }
     return(result);
 }