public static bool HasIndex(this AssociationTargetEndModel model)
 {
     return(model.HasStereotype("Index"));
 }
 public static bool HasForeignKey(this AssociationTargetEndModel model)
 {
     return(model.HasStereotype("Foreign Key"));
 }
        public static Index GetIndex(this AssociationTargetEndModel model)
        {
            var stereotype = model.GetStereotype("Index");

            return(stereotype != null ? new Index(stereotype) : null);
        }
        public static ForeignKey GetForeignKey(this AssociationTargetEndModel model)
        {
            var stereotype = model.GetStereotype("Foreign Key");

            return(stereotype != null ? new ForeignKey(stereotype) : null);
        }