protected bool IsEnumeration(InverseAttribute attribute)
 {
     return(attribute.AggregationType != null);
 }
 protected bool IsAggregation(InverseAttribute attribute)
 {
     return(attribute.InvertedAttr.Domain is AggregationType);
 }
        protected bool IsDoubleAggregation(InverseAttribute attribute)
        {
            var aggr = attribute.InvertedAttr.Domain as AggregationType;

            return(aggr?.ElementType is AggregationType);
        }